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
bignum() does not instantiate very large integers (>= 1e+308) as expected:
bignum(1e+307).toNumber() === 1e+307 // expected bignum(1e+308).toNumber() === 0 // unexpected
Instantiate a bignum object for very large integers as expected or throw an error if the argument passed to bignum() exceeds a threshold.
bignum()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Observed Behaviour
bignum() does not instantiate very large integers (>= 1e+308) as expected:
Expected Behaviour
Instantiate a bignum object for very large integers as expected or throw an error if the argument passed to
bignum()
exceeds a threshold.Version Info
The text was updated successfully, but these errors were encountered: