-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
more float constants #146934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
more float constants #146934
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you be able to file an ACP for this so the API team discusses it? It's an issue template at https://github.com/rust-lang/libs-team/issues, should be pretty easy.
Done at: rust-lang/libs-team#661 |
d5cad7a to
4553da4
Compare
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #147104) made this pull request unmergeable. Please resolve the merge conflicts. |
4553da4 to
342b449
Compare
This comment has been minimized.
This comment has been minimized.
|
The ACP was accepted with changes, this PR will need to be updated rust-lang/libs-team#661. @rustbot author |
|
Reminder, once the PR becomes ready for a review, use |
342b449 to
83081d3
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
83081d3 to
ba069f0
Compare
This comment has been minimized.
This comment has been minimized.
ba069f0 to
dedf260
Compare
rename EGAMMA to EULER_GAMMA rename PHI to GOLDEN_RATIO
|
☔ The latest upstream changes (presumably #151183) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@joshuarayton any reason you closed this? The ACP was mostly accepted, this just needs some easy changes to meet rust-lang/libs-team#661 (comment). |
|
Sorry. When I tried updating the code, I wasn't sure how to stabilise |
|
Thanks for the update, you were doing the right thing. It will just make you submit a new PR, feel free to request a review from me. |
… r=tgross35 more float constants Add constants discussed in rust-lang#146939 rust-lang/libs-team#661 Retry of rust-lang#146934 r? @tgross35
… r=tgross35 more float constants Add constants discussed in rust-lang#146939 rust-lang/libs-team#661 Retry of rust-lang#146934 r? @tgross35
… r=tgross35 more float constants Add constants discussed in rust-lang#146939 rust-lang/libs-team#661 Retry of rust-lang#146934 r? @tgross35
… r=tgross35 more float constants Add constants discussed in rust-lang#146939 rust-lang/libs-team#661 Retry of rust-lang#146934 r? @tgross35
… r=tgross35 more float constants Add constants discussed in rust-lang#146939 rust-lang/libs-team#661 Retry of rust-lang#146934 r? @tgross35
Rollup merge of #151825 - joshuarayton:more-float-constants, r=tgross35 more float constants Add constants discussed in #146939 rust-lang/libs-team#661 Retry of #146934 r? @tgross35
more float constants: sqrt(5), 1/sqrt(5), ln(3)
rename EGAMMA to GAMMA
Adds constants discussed in #103883
I discuss why I prefer the variable name GAMMA in the issue but if a majority disagrees then I can change it back.