Trait glucose::numeric::float::Float[][src]

pub trait Float: Num + Signed + Trig + PartialOrd + Copy {
    fn is_finite(self) -> bool;
fn is_infinite(self) -> bool;
fn is_nan(self) -> bool;
fn is_normal(self) -> bool;
fn is_sign_positive(self) -> bool;
fn is_sing_negative(self) -> bool;
fn classify(self) -> FpCategory;
fn recip(self) -> Self;
fn floor(self) -> Self;
fn ceil(self) -> Self;
fn round(self) -> Self;
fn trunc(self) -> Self;
fn fract(self) -> Self;
fn copysign(self, sign: Self) -> Self;
fn mul_add(self, a: Self, b: Self) -> Self;
fn div_euclid(self, rhs: Self) -> Self;
fn rem_euclid(self, rhs: Self) -> Self;
fn powi(self, n: i32) -> Self;
fn powf(self, n: Self) -> Self;
fn sqrt(self) -> Self;
fn exp(self) -> Self;
fn exp2(self) -> Self;
fn ln(self) -> Self;
fn log(self, base: Self) -> Self;
fn log2(self) -> Self;
fn log10(self) -> Self;
fn cbrt(self) -> Self;
fn hypot(self, rhs: Self) -> Self;
fn exp_m1(self) -> Self;
fn ln_1p(self) -> Self; }

Required methods

fn is_finite(self) -> bool[src]

fn is_infinite(self) -> bool[src]

fn is_nan(self) -> bool[src]

fn is_normal(self) -> bool[src]

fn is_sign_positive(self) -> bool[src]

fn is_sing_negative(self) -> bool[src]

fn classify(self) -> FpCategory[src]

fn recip(self) -> Self[src]

fn floor(self) -> Self[src]

fn ceil(self) -> Self[src]

fn round(self) -> Self[src]

fn trunc(self) -> Self[src]

fn fract(self) -> Self[src]

fn copysign(self, sign: Self) -> Self[src]

fn mul_add(self, a: Self, b: Self) -> Self[src]

fn div_euclid(self, rhs: Self) -> Self[src]

fn rem_euclid(self, rhs: Self) -> Self[src]

fn powi(self, n: i32) -> Self[src]

fn powf(self, n: Self) -> Self[src]

fn sqrt(self) -> Self[src]

fn exp(self) -> Self[src]

fn exp2(self) -> Self[src]

fn ln(self) -> Self[src]

fn log(self, base: Self) -> Self[src]

fn log2(self) -> Self[src]

fn log10(self) -> Self[src]

fn cbrt(self) -> Self[src]

fn hypot(self, rhs: Self) -> Self[src]

fn exp_m1(self) -> Self[src]

fn ln_1p(self) -> Self[src]

Loading content...

Implementations on Foreign Types

impl Float for f32[src]

impl Float for f64[src]

Loading content...

Implementors

Loading content...