Closed shmsula closed 1 year ago
The equality operators use an epsilon to compare numbers, which is 1e-12
by default. You will want to use a smaller epsilon.
See docs: https://mathjs.org/docs/datatypes/bignumbers.html#usage
See also #2608, discussing the introduction of a separate epsilon for bignumbers to prevent the issue you're running into.
Tried to compare two big numbers (1000000000000), however only last version works.
Is it correct behavior?