Skip to main content

max_nonneg_bits

Function max_nonneg_bits 

Source
pub fn max_nonneg_bits(v: &[f32]) -> u32
Expand description

Largest non-negative, non-NaN value of v as IEEE bits (0 when there is none). For such values bit patterns order like integers, so this runs on integer lanes (vectorisable, unlike f32::max); NaN patterns (above +inf) are masked out.