Comparison

MGI Max & Min (by magnitude)

Sorts the two input values into which is furthest from zero (largest magnitude) and which is closest to zero (smallest magnitude). The signs of the inputs are preserved.

MGI Approximately Equal

Check that two floats are within 1% of each other. If either number is zero, then check that they are within Machine Epsilon of each other.

MGI Is Averageable

Check if the input is averageable, i.e. not NaN or infinite.

MGI Is Infinite

Returns True if and only if x is equal to positive infinity or negative infinity.

MGI Max & Min (non-negative)

Returns the maximum and minimum values among the non-negative inputs. If both of the inputs are negative, then the outputs are both NaN.

MGI True if Odd

Check if an integer is odd.