Skip to main content

signum

Function signum 

Source
pub fn signum(num: f64) -> f64
Expand description

-1 below zero, 0 at zero, 1 above zero.