Replace `M_PI` by `std::numbers::pi`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
Research direction
Start by locating the memcheck and polymorphism exercises and checking where they use M_PI, then inspect how those exercises select the C++ standard. Confirm the project's decision on moving them from C++17 to C++20; done means the exercises use std::numbers::pi and build successfully with the chosen standard.
Written by the indexing model from the issue text.
Description
The exercises memcheck and polymorphism use the non-standard M_PI constant, which unfortunately for MSVC requires extra setup. If we would use std::numbers::pi instead from C++20, this special handling would not be necessary. However, it would move the exercises from C++17 to C++20. Would this be fine?
- Dominant language
- TeX
- Stars
- 313
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hsf-training/cpluspluscourse
-
later stale
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
hsf-training/cpluspluscourse#191 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 10/100
hsf-training/cpluspluscourse#583 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
hsf-training/cpluspluscourse#579 ·
-
stale
Difficulty 5/5 Over a week Newbie friendliness 30/100
hsf-training/cpluspluscourse#545 · 3 comments ·
-
Advanced stale
Difficulty 3/5 1-2 days Newbie friendliness 25/100
hsf-training/cpluspluscourse#541 · 2 comments ·
All issues in hsf-training/cpluspluscourse
Similar issues
-
mlir
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
llvm/llvm-project#224908 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
area-CodeGen-coreclr untriaged
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
secondlife/sl-vscode-plugin#147 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
objectionary/phie#149 ·