Trait fin::FinFloat
[−]
[src]
pub trait FinFloat<F> where
F: Float,
Self: Sized + UncheckedConv<F>, { fn floor(self) -> Self { ... } fn ceil(self) -> Self { ... } fn round(self) -> Self { ... } fn fract(self) -> Self { ... } fn abs(self) -> Self { ... } fn signum(self) -> Self { ... } fn to_radians(self) -> Self { ... } fn cbrt(self) -> Self { ... } fn hypot<O: UncheckedConv<F> + Copy>(self, o: O) -> Self { ... } fn sin(self) -> Self { ... } fn cos(self) -> Self { ... } fn tan(self) -> Self { ... } fn atan(self) -> Self { ... } fn atan2<O: UncheckedConv<F> + Copy>(self, o: O) -> Self { ... } fn tanh(self) -> Self { ... } fn sin_cos(self) -> (Self, Self) { ... } fn mul_add<A: UncheckedConv<F> + Copy, B: UncheckedConv<F> + Copy>(
self,
a: A,
b: B
) -> Dirty<F> { ... } fn recip(self) -> Self { ... } fn powi(self, exp: i32) -> Dirty<F> { ... } fn powf<A: UncheckedConv<F> + Copy>(self, exp: A) -> Dirty<F> { ... } fn sqrt(self) -> Self { ... } fn exp(self) -> Self { ... } fn exp2(self) -> Self { ... } fn ln(self) -> Self { ... } fn log<A: UncheckedConv<F> + Copy>(self, a: A) -> Dirty<F> { ... } fn log2(self) -> Self { ... } fn log10(self) -> Self { ... } fn to_degrees(self) -> Self { ... } fn acos(self) -> Self { ... } fn asin(self) -> Self { ... } fn exp_m1(self) -> Self { ... } fn ln_1p(self) -> Self { ... } fn sinh(self) -> Self { ... } fn cosh(self) -> Self { ... } fn asinh(self) -> Self { ... } fn acosh(self) -> Self { ... } fn atanh(self) -> Self { ... } fn taint(self) -> Dirty<F> { ... } fn assert_sanitized(&self) { ... } }
Provided Methods
fn floor(self) -> Self
fn ceil(self) -> Self
fn round(self) -> Self
fn fract(self) -> Self
fn abs(self) -> Self
fn signum(self) -> Self
fn to_radians(self) -> Self
fn cbrt(self) -> Self
fn hypot<O: UncheckedConv<F> + Copy>(self, o: O) -> Self
fn sin(self) -> Self
fn cos(self) -> Self
fn tan(self) -> Self
fn atan(self) -> Self
fn atan2<O: UncheckedConv<F> + Copy>(self, o: O) -> Self
fn tanh(self) -> Self
fn sin_cos(self) -> (Self, Self)
fn mul_add<A: UncheckedConv<F> + Copy, B: UncheckedConv<F> + Copy>(
self,
a: A,
b: B
) -> Dirty<F>
self,
a: A,
b: B
) -> Dirty<F>
fn recip(self) -> Self
fn powi(self, exp: i32) -> Dirty<F>
fn powf<A: UncheckedConv<F> + Copy>(self, exp: A) -> Dirty<F>
fn sqrt(self) -> Self
fn exp(self) -> Self
fn exp2(self) -> Self
fn ln(self) -> Self
fn log<A: UncheckedConv<F> + Copy>(self, a: A) -> Dirty<F>
fn log2(self) -> Self
fn log10(self) -> Self
fn to_degrees(self) -> Self
fn acos(self) -> Self
fn asin(self) -> Self
fn exp_m1(self) -> Self
fn ln_1p(self) -> Self
fn sinh(self) -> Self
fn cosh(self) -> Self
fn asinh(self) -> Self
fn acosh(self) -> Self
fn atanh(self) -> Self
fn taint(self) -> Dirty<F>
fn assert_sanitized(&self)
Implementors
impl<F> FinFloat<F> for Fin<F> where
F: Float,
Fin<F>: UncheckedConv<F>,impl<F> FinFloat<F> for Dirty<F> where
F: Float,
Dirty<F>: UncheckedConv<F>,