Compares two numbers for approximate equality within a given tolerance.
Useful for floating-point calculations where exact equality (===) is unreliable due to rounding errors.
===
First number to compare
Second number to compare
Optional
Allowed tolerance (default: global EPSILON)
true if numbers differ by less than eps
true
eps
Compares two numbers for approximate equality within a given tolerance.
Useful for floating-point calculations where exact equality (
===
) is unreliable due to rounding errors.