cslarsen / cslarsen/eulers-totient-function
What is the purpose of the PRIMES parameter?
- Dominant language
- C++
- Stars
- 8
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Thank you for sharing this code. I'd like to use it. But I'm not fluent in C or C++ (nor in English ^^) and I don't understand what is the purpose of `PRIMES` in the templated function `phi`. For example you call `phi<100>(12)`. What is the role of `100` here?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the templated function `phi` and the example call `phi<100>(12)` in the repository. Clarify the purpose of the `PRIMES` parameter and explain what `100` means in the example; done means a newcomer can understand the parameter without needing additional context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100