Skip to main content

Module minmax

Module minmax 

Source

Functionsยง

max
IEEE 754-2008 maximum: returns the larger of a and b. If either operand is SNaN, signals INVALID. If both are NaN, returns a quiet NaN. max(+0, -0) = +0.
min
IEEE 754-2008 minimum: returns the smaller of a and b. If either operand is SNaN, signals INVALID. If both are NaN, returns a quiet NaN. min(+0, -0) = -0.