Trait float::Signum[][src]

pub trait Signum {
    fn signum(self) -> Self;
}
[]

The sign of the number.

Required methods

fn signum(self) -> Self[src][]

Returns number representing the sign of self

Implementations on Foreign Types

impl Signum for f32[src][]

impl Signum for f64[src][]

Implementors