Trait float::Signum [−][src]
pub trait Signum {
fn signum(self) -> Self;
}The sign of the number.
Required Methods
fn signum(self) -> Self
Returns number representing the sign of self
Implementations on Foreign Types
impl Signum for f32[src]
impl Signum for f32impl Signum for f64[src]
impl Signum for f64