Compares two operands numerically to the current precision.
Note: The operands are rounded before they are compared.
This may result in unexpected results. For instance,
if both operands are too large (small) for the context
they will both be rounded to infinity (zero) and the function will
return 0, indicating that they are equal, even though they are
numerically different before rounding.
To compare numbers without rounding, use compareTotal.
Compares two operands numerically to the current precision.
Note: The operands are rounded before they are compared. This may result in unexpected results. For instance, if both operands are too large (small) for the context they will both be rounded to infinity (zero) and the function will return 0, indicating that they are equal, even though they are numerically different before rounding.
To compare numbers without rounding, use compareTotal.