We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
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
Tried to compare two big numbers (1000000000000), however only last version works.
Is it correct behavior?
The text was updated successfully, but these errors were encountered:
The equality operators use an epsilon to compare numbers, which is 1e-12 by default. You will want to use a smaller epsilon.
1e-12
See docs: https://mathjs.org/docs/datatypes/bignumbers.html#usage
Sorry, something went wrong.
See also #2608, discussing the introduction of a separate epsilon for bignumbers to prevent the issue you're running into.
No branches or pull requests
Tried to compare two big numbers (1000000000000), however only last version works.
Is it correct behavior?
The text was updated successfully, but these errors were encountered: