Trait Signum
vecmath::traits
pub trait Signum { pub fn signum(self) -> Self; }
The sign of the number.
pub fn signum(self) -> Self
Returns number representing the sign of self
impl Signum for f64
pub fn signum(self) -> f64
impl Signum for f32
pub fn signum(self) -> f32