Trait decorum::Real
[−]
[src]
pub trait Real: Copy + Sized { fn max_value() -> Self; fn min_value() -> Self; fn min_positive_value() -> Self; fn neg_zero() -> Self; fn is_sign_positive(self) -> bool; fn is_sign_negative(self) -> bool; fn classify(self) -> FpCategory; fn is_normal(self) -> bool; fn integer_decode(self) -> (u64, i16, i8); fn hypot(self, other: Self) -> Self; fn sin(self) -> Self; fn cos(self) -> Self; fn tan(self) -> Self; fn asin(self) -> Self; fn acos(self) -> Self; fn atan(self) -> Self; fn atan2(self, other: Self) -> Self; fn sin_cos(self) -> (Self, Self); fn sinh(self) -> Self; fn cosh(self) -> Self; fn tanh(self) -> Self; fn asinh(self) -> Self; fn acosh(self) -> Self; fn atanh(self) -> Self; }
Required Methods
fn max_value() -> Self
fn min_value() -> Self
fn min_positive_value() -> Self
fn neg_zero() -> Self
fn is_sign_positive(self) -> bool
fn is_sign_negative(self) -> bool
fn classify(self) -> FpCategory
fn is_normal(self) -> bool
fn integer_decode(self) -> (u64, i16, i8)
fn hypot(self, other: Self) -> Self
fn sin(self) -> Self
fn cos(self) -> Self
fn tan(self) -> Self
fn asin(self) -> Self
fn acos(self) -> Self
fn atan(self) -> Self
fn atan2(self, other: Self) -> Self
fn sin_cos(self) -> (Self, Self)
fn sinh(self) -> Self
fn cosh(self) -> Self
fn tanh(self) -> Self
fn asinh(self) -> Self
fn acosh(self) -> Self
fn atanh(self) -> Self
Implementors
impl<T, P> Real for ConstrainedFloat<T, P> where
T: Float,
P: FloatConstraint<T>,impl<T> Real for T where
T: Float,