Takes two numbers and compares the operands using their
abstract representation rather than their numerical value.
Numbers (representations which are not NaNs) are ordered such that
a larger numerical value is higher in the ordering.
If two representations have the same numerical value
then the exponent is taken into account;
larger (more positive) exponents are higher in the ordering.
Returns -1 If the first operand is lower in the total ordering
and returns 1 if the first operand is higher in the total ordering.
Returns 0 only if the numbers are equal and have the same representation.
Implements the 'compare-total' function in the specification. (p. 42-43)
Flags: NONE.
Takes two numbers and compares the operands using their abstract representation rather than their numerical value. Numbers (representations which are not NaNs) are ordered such that a larger numerical value is higher in the ordering. If two representations have the same numerical value then the exponent is taken into account; larger (more positive) exponents are higher in the ordering. Returns -1 If the first operand is lower in the total ordering and returns 1 if the first operand is higher in the total ordering. Returns 0 only if the numbers are equal and have the same representation. Implements the 'compare-total' function in the specification. (p. 42-43) Flags: NONE.