Skip to content
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

bigNumToNumber method may result precision loss for denominator calculation #45250

Open
yaooqinn opened this issue Jan 14, 2025 · 0 comments
Open

Comments

@yaooqinn
Copy link
Member

Describe the bug, including details regarding any error messages, version, and platform.

> BigInt(10) ** BigInt(25);
10000000000000000000000000n
> BigInt(Math.pow(10, 25))
10000000000000000905969664n

Component(s)

JavaScript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant