Skip to main content

normalize_float

Function normalize_float 

Source
pub fn normalize_float<T: FloatSemantics>(v: T) -> T
Expand description

-0.0 becomes 0.0, so two values that DataFusion treats as equal also have the same bits. All other values, including NaN payloads, are kept as they are.