Trait floaty::Floaty
[−]
[src]
pub trait Floaty: Add<Output = Self> + Clone + Copy + Div<Output = Self> + From<f32, Output = Self> + From<i16, Output = Self> + From<i32, Output = Self> + From<i64, Output = Self> + From<i8, Output = Self> + From<isize, Output = Self> + From<u16, Output = Self> + From<u32, Output = Self> + From<u64, Output = Self> + From<u8, Output = Self> + From<usize, Output = Self> + Mul<Output = Self> + Neg<Output = Self> + PartialEq + PartialOrd + Rem<Output = Self> + Send + Sub<Output = Self> + Sync { fn abs(self) -> Self; fn acos(self) -> Self; fn acosh(self) -> Self; fn asin(self) -> Self; fn asinh(self) -> Self; fn atan(self) -> Self; fn atanh(self) -> Self; fn cbrt(self) -> Self; fn ceil(self) -> Self; fn cos(self) -> Self; fn cosh(self) -> Self; fn exp(self) -> Self; fn exp2(self) -> Self; fn exp_m1(self) -> Self; fn floor(self) -> Self; fn fract(self) -> Self; fn ln(self) -> Self; fn ln_1p(self) -> Self; fn log10(self) -> Self; fn log2(self) -> Self; fn recip(self) -> Self; fn round(self) -> Self; fn signum(self) -> Self; fn sin(self) -> Self; fn sinh(self) -> Self; fn sqrt(self) -> Self; fn tan(self) -> Self; fn tanh(self) -> Self; fn trunc(self) -> Self; fn abs_sub(self, _: Self) -> Self; fn atan2(self, _: Self) -> Self; fn hypot(self, _: Self) -> Self; fn log(self, _: Self) -> Self; fn max(self, _: Self) -> Self; fn min(self, _: Self) -> Self; fn powf(self, _: Self) -> Self; fn is_finite(self) -> bool; fn is_infinite(self) -> bool; fn is_nan(self) -> bool; fn is_normal(self) -> bool; fn is_sign_negative(self) -> bool; fn is_sign_positive(self) -> bool; fn classify(self) -> FpCategory; fn mul_add(self, _: Self, _: Self) -> Self; fn powi(self, _: i32) -> Self; fn sin_cos(self) -> (Self, Self); }
A floating point number