-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Tracking issue for extra floating-point logarithm constants #50540
Comments
Has anyone used these constants at all and want to pitch in for stabilisation of these? These have landed for a while and I'm curious how many people are using them. |
+1 for stabilization. (Tried to see if log2(10) exists and found that it is unstable 🙄.) |
(Mind providing the specific use case? Curious to see if people are using this for anything other than scientific computing.) |
@clarcharr to estimate the "−log2(probability)" of collision of two values chosen randomly from a set, which will be used to derive the probability of collision of N values (≈ 1 − e-pN2/2, p ≪ 1, N ≫ 1). log2 is chosen instead of natural log because the set size is often 2n (e.g. u32), but sometimes it is drawn from a set of n decimal digits which would then involve n·log2(10). |
I can't @ anyone from the libs team but do you think we'd be able to start an FCP for this? |
cc @rust-lang/libs for a FCP. |
@rfcbot fcp merge I believe the stabilization includes |
Team member @alexcrichton has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. The RFC will be merged soon. |
@alexcrichton Does this need a stabilization report/PR? |
It needs a PR. Not sure if we should include |
@clarfon There is already #66770. |
Oh, my bad. I for some reason noticed that this issue got linked in the PR and thought that there wasn't a separate tracking issue. |
…ts, r=sfackler Stabilize {f32, f64}::{LOG2_10, LOG10_2} Following the decision to stabilize `LOG2_10` and `LOG10_2` in rust-lang#50540 (comment). Closes rust-lang#50540. r? @sfackler
Specifically,
LOG10_2
andLOG2_10
. PR: #50539The text was updated successfully, but these errors were encountered: