-
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
Whether floating point value Display should adhere to IEEE standard? #79490
Comments
From what I can tell, the controversial part was having |
Personally, I think printing |
Related to #72676 . |
We discussed this in the @rust-lang/libs meeting today. We had consensus that changing floating-point printing to print the negative sign on -0 seems reasonable. We don't expect that to cause a problem in practice. Please go ahead with the PR. We would like to see that PR go through a libs FCP for confirmation when it's ready. |
It was raised in #78618 that there needs conscious on whether f32/f64
Display
should adhere to IEEE standard, for example outputting+0
instead of more conventional0
.This issue is created to track this.
The text was updated successfully, but these errors were encountered: