We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Exponent overflows when adding very large numbers. eg 9e384 + 1e384. Should add to inf
inf
x := MustParseDecimal64("9e384") y := MustParseDecimal64("1e384") z := x.Add(y)
z evaluates to .007199254740992e-383 instead of inf
.007199254740992e-383
The text was updated successfully, but these errors were encountered:
Along the same lines MustParseDecimal64("1e385"") does not panic or return inf but .007199254740992e-383
MustParseDecimal64("1e385"")
panic
Sorry, something went wrong.
No branches or pull requests
Exponent overflows when adding very large numbers. eg 9e384 + 1e384.
Should add to
inf
z evaluates to
.007199254740992e-383
instead ofinf
The text was updated successfully, but these errors were encountered: