Skip to main content

min

Function min 

Source
pub fn min<F: FloatFormat>(a: F, b: F, env: &mut FloatEnv) -> F
Expand description

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.