-
-
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
convert(Float64, ::BigInt) – rounding and corner cases #6365
Comments
To expand on this a bit, the problem is that |
In principle @simonbyrne's recent work on incorporating However, this issue is somewhat mind-bending: the edge cases here are when a |
Ties to even is still well-defined: the even one is the number with the zero in last place of the significand ( We could probably do this ourselves via an explicit branch if the returned absolute value is greater than |
That makes sense. (I didn't know |
See f04aa6f and https://gmplib.org/manual/Converting-Integers.html#Converting-Integers.
The text was updated successfully, but these errors were encountered: