Function polars_utils::total_ord::canonical_f64

source ยท
pub fn canonical_f64(x: f64) -> f64
Expand description

Converts an f64 into a canonical form, where -0 == 0 and all NaNs map to the same value.