Trait rrt0::F64Ext

source ·
pub trait F64Ext: Sealed + Sized {
Show 38 methods fn floor(self) -> Self; fn ceil(self) -> Self; fn round(self) -> Self; fn trunc(self) -> Self; fn fdim(self, rhs: Self) -> Self; fn fract(self) -> Self; fn abs(self) -> Self; fn mul_add(self, a: Self, b: Self) -> Self; fn div_euc(self, rhs: Self) -> Self; fn mod_euc(self, rhs: Self) -> 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, 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 exp_m1(self) -> Self; fn ln_1p(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; fn min(self, other: Self) -> Self; fn max(self, other: Self) -> Self;
}
Expand description

Math support for f64

This trait is sealed and cannot be implemented outside of libm.

Required Methods

Implementations on Foreign Types

Implementors