Function polars_utils::total_ord::canonical_f32
source ยท pub fn canonical_f32(x: f32) -> f32
Expand description
Converts an f32 into a canonical form, where -0 == 0 and all NaNs map to the same value.
pub fn canonical_f32(x: f32) -> f32
Converts an f32 into a canonical form, where -0 == 0 and all NaNs map to the same value.