Skip to content

NumericalOrder

NumericalOrder(a, b)

is 0 if a equals b. Is -1 or 1 according to numerical order of a and b.

See

Examples

>> NumericalOrder(3,4)
1
>> NumericalOrder(4,3)
-1
>> NumericalOrder(Infinity,4)
-1
>> NumericalOrder(-Infinity,3/4)
1

NumericalSort, Order, Sort

Implementation status

  • ☑ - partially implemented

Github