-
Notifications
You must be signed in to change notification settings - Fork 22
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 RoundUp conversion of large strings #176
Labels
Comments
The results vary run to run. Most likely a buffer overflow in the C. I'll look into it.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is wrong, since the result should be exactly representable in
Dec128
:Unfortunately, this might be a bug in the underlying library? All we are doing is converting the
BigInt
to a string and then calling the library'sfrom_string
routine.As a result, we get incorrect results like:
The text was updated successfully, but these errors were encountered: