Skip to main content

min_max_f32

Function min_max_f32 

Source
pub(crate) fn min_max_f32(values: &[f32]) -> Option<(f32, f32, u64)>
Expand description

Returns the min, max and NaN count of a floating point column, comparing by IEEE 754 total order and skipping NaN.

Returns None if values is empty or contains only NaN, in which case the min and max are NaN themselves and the caller falls back to the scalar implementation.