-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Zeros store negative #12
Comments
not all zeros but I think after a number turns into a |
Although if it returns equals on |
yes, that's been intentional so far. We even have a separate method However, now I'm contemplating the actual benefits of having negative zeroes. Rust core float implementation does handle negative zeroes and zeroes as the same thing, so do we to be compatible. I'm not sure we need this any more. Perhaps worth deprecating and removing them. |
Yes, they are equals. We have it covered with tests If you have any other questions or recommendations that we can consider when deciding on if it's worth deprecating negative zeroes and removing those, please feel free to leave them here and reopen or make a new issue. Cheers |
Not sure if it is intended but zeros store negatives inside. When I print a zero fraction I get
-0
.The text was updated successfully, but these errors were encountered: