-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Implementation of std::f64::powi function gives inconsistent answers in multiple Rust tool-chains #73920
Comments
Quite interesting that #73420 affects both
|
Because LLVM generally turns |
This should be closed as a duplicate of #71355 or vice versa. So far it's not even clear to me that there is a bug here. Where is the exact rounding behavior of |
Closing as a duplicate of #71355. |
Problem code
I tried this code (also in Rust playpen here):
I expected to see this happen:
Instead, this happened:
Toolchains tested (Windows 10)
Toolchains tested (Linux Ubuntu)
Rust playpen
Meta
rustc --version --verbose
:See detail information in the tables above.
Backtrace
The text was updated successfully, but these errors were encountered: