float real รข -1, 0, +1 or nil
Instance Public methods
Returns -1, 0, +1 or nil depending on whether float
is less
than, equal to, or greater than real
. This is the basis for
the tests in Comparable.
The result of NaN <=> NaN
is undefined, so the
implementation-dependent value is returned.
nil
is returned if the two values are incomparable.
Please login to continue.