-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
incorrect hashing of large floats #8619
Labels
bug
Indicates an unexpected problem or unintended behavior
Comments
Oh, man, this stuff is so tricky to change. I'll have to think on it for a bit. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For
Float64
s on the interval (2^63, 2^64), the hashes don't match those of the corresponding Uints (or BigFloats):The problem is that on this line,
fptosi
always returns-typemin(Int64)
for all values >= 2^63 (this is the same problem as in #7517).The text was updated successfully, but these errors were encountered: