Function fmax

Source
pub fn fmax(x: f64, y: f64) -> f64
Expand description

Return the greater of two arguments or, if either argument is NaN, the other argument.

This coincides with IEEE 754-2011 maxNum. The result disregards signed zero (meaning if the inputs are -0.0 and +0.0, either may be returned).