Skip to main content

max_pair

Function max_pair 

Source
pub fn max_pair(a: f64, b: f64) -> f64
Expand description

PHP max($a, $b) of two floats as a direct two-argument call (the frameless form): $a > $b ? $a : $b. With a NAN that is $b.