Equality for machine-precision approximate numbers can be subtle:
The extra digits disrupt equality:
Arbitrary-precision approximate numbers do not have this problem:
Thanks to automatic precision tracking
Equal knows to look only at the first ten digits:
In this case, the equality test for machine numbers succeeds:
The extra digits in this case are ignored by
Equal:
Equality may not be transitive for approximate numbers:
Equal is not treated as the Boolean equivalence operator: