x precedes y in the order specified above;
0 if x and y are identical, and positive value otherwise.
int cmp(T)(const(T) x, const(T) y) if (isFloatingPoint!T) @nogc @trusted pure nothrowDefines a total order on all floating-point numbers.
The order is defined as follows:
the same way as by built-in comparison, with the exception of -0.0, which is less than +0.0;
than any number; if the sign bit is not set (it is 'positive'), NaN is greater than any number;
ones - in reverse order).
x precedes y in the order specified above;
0 if x and y are identical, and positive value otherwise.