[−][src]Struct softposit::p16e1::P16E1
Methods
impl P16E1
[src]
pub fn mul_add(self, b: Self, c: Self) -> Self
[src]
pub fn floor(self) -> Self
[src]
pub fn ceil(self) -> Self
[src]
pub fn round(self) -> Self
[src]
pub fn trunc(self) -> Self
[src]
pub fn fract(self) -> Self
[src]
pub fn div_euclid(self, rhs: Self) -> Self
[src]
pub fn rem_euclid(self, rhs: Self) -> Self
[src]
pub fn powi(self, _n: i32) -> Self
[src]
pub fn powf(self, _n: Self) -> Self
[src]
pub fn sqrt(self) -> Self
[src]
pub fn exp(self) -> Self
[src]
pub fn exp2(self) -> Self
[src]
pub fn ln(self) -> Self
[src]
pub fn log(self, _base: Self) -> Self
[src]
pub fn log2(self) -> Self
[src]
pub fn log10(self) -> Self
[src]
pub fn cbrt(self) -> Self
[src]
pub fn hypot(self, _other: Self) -> Self
[src]
pub fn sin(self) -> Self
[src]
pub fn cos(self) -> Self
[src]
pub fn tan(self) -> Self
[src]
pub fn asin(self) -> Self
[src]
pub fn acos(self) -> Self
[src]
pub fn atan(self) -> Self
[src]
pub fn atan2(self, _other: Self) -> Self
[src]
pub fn sin_cos(self) -> (Self, Self)
[src]
pub fn exp_m1(self) -> Self
[src]
pub fn ln_1p(self) -> Self
[src]
pub fn sinh(self) -> Self
[src]
pub fn cosh(self) -> Self
[src]
pub fn tanh(self) -> Self
[src]
pub fn asinh(self) -> Self
[src]
pub fn acosh(self) -> Self
[src]
pub fn atanh(self) -> Self
[src]
pub fn sin_pi(self) -> Self
[src]
impl P16E1
[src]
pub fn sub_mags(ui_a: u16, ui_b: u16) -> Self
[src]
pub fn add_mags(ui_a: u16, ui_b: u16) -> Self
[src]
impl P16E1
[src]
pub const SIZE: usize
[src]
pub const ES: usize
[src]
pub const USEED: usize
[src]
pub const EPSILON: Self
[src]
Machine epsilon (2.44140625e-4).
pub const MIN: Self
[src]
Smallest finite value (-268435456).
pub const MIN_POSITIVE: Self
[src]
Smallest positive normal value (3.725290298_e-9).
pub const MAX: Self
[src]
Largest finite value (268435456).
pub const NAR: Self
[src]
Not a Real (NaR).
pub const NAN: Self
[src]
Not a Number (NaN).
pub const INFINITY: Self
[src]
Infinity (∞).
pub const ZERO: Self
[src]
Zero.
pub const ONE: Self
[src]
Identity.
pub const fn new(i: i16) -> Self
[src]
pub fn from_bits(v: u16) -> Self
[src]
pub fn to_bits(self) -> u16
[src]
pub fn abs(self) -> Self
[src]
pub fn is_zero(self) -> bool
[src]
pub fn is_nar(self) -> bool
[src]
pub fn is_nan(self) -> bool
[src]
pub fn is_infinite(self) -> bool
[src]
pub fn is_finite(self) -> bool
[src]
pub fn is_normal(self) -> bool
[src]
pub fn classify(self) -> FpCategory
[src]
pub fn is_sign_positive(self) -> bool
[src]
pub fn is_sign_negative(self) -> bool
[src]
pub fn copysign(self, other: Self) -> Self
[src]
pub fn signum(self) -> Self
[src]
pub fn recip(self) -> Self
[src]
pub fn to_degrees(self) -> Self
[src]
pub fn to_radians(self) -> Self
[src]
impl P16E1
[src]
Trait Implementations
impl Polynom<P16E1> for P16E1
[src]
fn poly1(self, c: &[T; 2]) -> Self
[src]
fn poly2(self, c: &[T; 3]) -> Self
[src]
fn poly3(self, c: &[T; 4]) -> Self
[src]
fn poly4(self, c: &[T; 5]) -> Self
[src]
fn poly5(self, c: &[T; 6]) -> Self
[src]
fn poly6(self, c: &[T; 7]) -> Self
[src]
fn poly7(self, c: &[T; 8]) -> Self
[src]
fn poly8(self, c: &[T; 9]) -> Self
[src]
fn poly9(self, c: &[T; 10]) -> Self
[src]
fn poly10(self, c: &[T; 11]) -> Self
[src]
fn poly11(self, c: &[T; 12]) -> Self
[src]
fn poly12(self, c: &[T; 13]) -> Self
[src]
fn poly13(self, c: &[T; 14]) -> Self
[src]
fn poly14(self, c: &[T; 15]) -> Self
[src]
fn poly15(self, c: &[T; 16]) -> Self
[src]
fn poly16(self, c: &[T; 17]) -> Self
[src]
fn poly17(self, c: &[T; 18]) -> Self
[src]
fn poly18(self, c: &[T; 19]) -> Self
[src]
fn poly3a(self, c: &[T; 4]) -> Self
[src]
fn poly4a(self, c: &[T; 5]) -> Self
[src]
impl Polynom<[P16E1; 1]> for P16E1
[src]
fn poly1(self, c: &[T; 2]) -> Self
[src]
fn poly2(self, c: &[T; 3]) -> Self
[src]
fn poly3(self, c: &[T; 4]) -> Self
[src]
fn poly4(self, c: &[T; 5]) -> Self
[src]
fn poly5(self, c: &[T; 6]) -> Self
[src]
fn poly6(self, c: &[T; 7]) -> Self
[src]
fn poly7(self, c: &[T; 8]) -> Self
[src]
fn poly8(self, c: &[T; 9]) -> Self
[src]
fn poly9(self, c: &[T; 10]) -> Self
[src]
fn poly10(self, c: &[T; 11]) -> Self
[src]
fn poly11(self, c: &[T; 12]) -> Self
[src]
fn poly12(self, c: &[T; 13]) -> Self
[src]
fn poly13(self, c: &[T; 14]) -> Self
[src]
fn poly14(self, c: &[T; 15]) -> Self
[src]
fn poly15(self, c: &[T; 16]) -> Self
[src]
fn poly16(self, c: &[T; 17]) -> Self
[src]
fn poly17(self, c: &[T; 18]) -> Self
[src]
fn poly18(self, c: &[T; 19]) -> Self
[src]
fn poly3a(self, c: &[T; 4]) -> Self
[src]
fn poly4a(self, c: &[T; 5]) -> Self
[src]
impl Polynom<[P16E1; 2]> for P16E1
[src]
fn poly1(self, c: &[T; 2]) -> Self
[src]
fn poly2(self, c: &[T; 3]) -> Self
[src]
fn poly3(self, c: &[T; 4]) -> Self
[src]
fn poly4(self, c: &[T; 5]) -> Self
[src]
fn poly5(self, c: &[T; 6]) -> Self
[src]
fn poly6(self, c: &[T; 7]) -> Self
[src]
fn poly7(self, c: &[T; 8]) -> Self
[src]
fn poly8(self, c: &[T; 9]) -> Self
[src]
fn poly9(self, c: &[T; 10]) -> Self
[src]
fn poly10(self, c: &[T; 11]) -> Self
[src]
fn poly11(self, c: &[T; 12]) -> Self
[src]
fn poly12(self, c: &[T; 13]) -> Self
[src]
fn poly13(self, c: &[T; 14]) -> Self
[src]
fn poly14(self, c: &[T; 15]) -> Self
[src]
fn poly15(self, c: &[T; 16]) -> Self
[src]
fn poly16(self, c: &[T; 17]) -> Self
[src]
fn poly17(self, c: &[T; 18]) -> Self
[src]
fn poly18(self, c: &[T; 19]) -> Self
[src]
fn poly3a(self, c: &[T; 4]) -> Self
[src]
fn poly4a(self, c: &[T; 5]) -> Self
[src]
impl Polynom<[P16E1; 3]> for P16E1
[src]
fn poly1(self, c: &[T; 2]) -> Self
[src]
fn poly2(self, c: &[T; 3]) -> Self
[src]
fn poly3(self, c: &[T; 4]) -> Self
[src]
fn poly4(self, c: &[T; 5]) -> Self
[src]
fn poly5(self, c: &[T; 6]) -> Self
[src]
fn poly6(self, c: &[T; 7]) -> Self
[src]
fn poly7(self, c: &[T; 8]) -> Self
[src]
fn poly8(self, c: &[T; 9]) -> Self
[src]
fn poly9(self, c: &[T; 10]) -> Self
[src]
fn poly10(self, c: &[T; 11]) -> Self
[src]
fn poly11(self, c: &[T; 12]) -> Self
[src]
fn poly12(self, c: &[T; 13]) -> Self
[src]
fn poly13(self, c: &[T; 14]) -> Self
[src]
fn poly14(self, c: &[T; 15]) -> Self
[src]
fn poly15(self, c: &[T; 16]) -> Self
[src]
fn poly16(self, c: &[T; 17]) -> Self
[src]
fn poly17(self, c: &[T; 18]) -> Self
[src]
fn poly18(self, c: &[T; 19]) -> Self
[src]
fn poly3a(self, c: &[T; 4]) -> Self
[src]
fn poly4a(self, c: &[T; 5]) -> Self
[src]
impl Polynom<[P16E1; 4]> for P16E1
[src]
fn poly1(self, c: &[T; 2]) -> Self
[src]
fn poly2(self, c: &[T; 3]) -> Self
[src]
fn poly3(self, c: &[T; 4]) -> Self
[src]
fn poly4(self, c: &[T; 5]) -> Self
[src]
fn poly5(self, c: &[T; 6]) -> Self
[src]
fn poly6(self, c: &[T; 7]) -> Self
[src]
fn poly7(self, c: &[T; 8]) -> Self
[src]
fn poly8(self, c: &[T; 9]) -> Self
[src]
fn poly9(self, c: &[T; 10]) -> Self
[src]
fn poly10(self, c: &[T; 11]) -> Self
[src]
fn poly11(self, c: &[T; 12]) -> Self
[src]
fn poly12(self, c: &[T; 13]) -> Self
[src]
fn poly13(self, c: &[T; 14]) -> Self
[src]
fn poly14(self, c: &[T; 15]) -> Self
[src]
fn poly15(self, c: &[T; 16]) -> Self
[src]
fn poly16(self, c: &[T; 17]) -> Self
[src]
fn poly17(self, c: &[T; 18]) -> Self
[src]
fn poly18(self, c: &[T; 19]) -> Self
[src]
fn poly3a(self, c: &[T; 4]) -> Self
[src]
fn poly4a(self, c: &[T; 5]) -> Self
[src]
impl MathConsts for P16E1
[src]
const E: Self
[src]
const FRAC_1_PI: Self
[src]
const FRAC_1_SQRT_2: Self
[src]
const FRAC_2_PI: Self
[src]
const FRAC_2_SQRT_PI: Self
[src]
const FRAC_PI_2: Self
[src]
const FRAC_PI_3: Self
[src]
const FRAC_PI_4: Self
[src]
const FRAC_PI_6: Self
[src]
const FRAC_PI_8: Self
[src]
const LN_10: Self
[src]
const LN_2: Self
[src]
const LOG10_E: Self
[src]
const LOG2_E: Self
[src]
const PI: Self
[src]
const SQRT_2: Self
[src]
const LOG2_10: Self
[src]
const LOG10_2: Self
[src]
impl AssociatedQuire<P16E1> for P16E1
[src]
impl Quire<P16E1> for Q16E1
[src]
type Bits = u128
fn init() -> Self
[src]
fn from_posit(p: P16E1) -> Self
[src]
fn to_posit(&self) -> P16E1
[src]
fn from_bits(v: Self::Bits) -> Self
[src]
fn to_bits(&self) -> Self::Bits
[src]
fn is_zero(&self) -> bool
[src]
fn is_nar(&self) -> bool
[src]
fn add_product(&mut self, p_a: P16E1, p_b: P16E1)
[src]
fn sub_product(&mut self, p_a: P16E1, p_b: P16E1)
[src]
fn clear(&mut self)
[src]
fn neg(&mut self)
[src]
impl Display for P16E1
[src]
impl Debug for P16E1
[src]
impl Sub<P16E1> for P16E1
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
impl PartialEq<P16E1> for P16E1
[src]
impl Eq for P16E1
[src]
impl Ord for P16E1
[src]
fn cmp(&self, other: &P16E1) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
clamp
)Restrict a value to a certain interval. Read more
impl PartialOrd<P16E1> for P16E1
[src]
fn partial_cmp(&self, other: &P16E1) -> Option<Ordering>
[src]
fn lt(&self, other: &P16E1) -> bool
[src]
fn le(&self, other: &P16E1) -> bool
[src]
fn gt(&self, other: &P16E1) -> bool
[src]
fn ge(&self, other: &P16E1) -> bool
[src]
impl FromStr for P16E1
[src]
type Err = ParseFloatError
The associated error which can be returned from parsing.
fn from_str(src: &str) -> Result<Self, ParseFloatError>
[src]
impl Add<P16E1> for P16E1
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl Mul<P16E1> for P16E1
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: Self) -> Self
[src]
impl Div<P16E1> for P16E1
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: Self) -> Self
[src]
impl Rem<P16E1> for P16E1
[src]
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, other: Self) -> Self
[src]
impl Neg for P16E1
[src]
impl AddAssign<P16E1> for P16E1
[src]
fn add_assign(&mut self, other: Self)
[src]
impl AddAssign<P16E1> for Q16E1
[src]
fn add_assign(&mut self, rhs: P16E1)
[src]
impl SubAssign<P16E1> for P16E1
[src]
fn sub_assign(&mut self, other: Self)
[src]
impl SubAssign<P16E1> for Q16E1
[src]
fn sub_assign(&mut self, rhs: P16E1)
[src]
impl MulAssign<P16E1> for P16E1
[src]
fn mul_assign(&mut self, other: Self)
[src]
impl DivAssign<P16E1> for P16E1
[src]
fn div_assign(&mut self, other: Self)
[src]
impl RemAssign<P16E1> for P16E1
[src]
fn rem_assign(&mut self, other: Self)
[src]
impl Hash for P16E1
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Copy for P16E1
[src]
impl From<i8> for P16E1
[src]
impl From<P16E1> for i8
[src]
impl From<i16> for P16E1
[src]
impl From<P16E1> for i16
[src]
impl From<isize> for P16E1
[src]
impl From<P16E1> for isize
[src]
impl From<u8> for P16E1
[src]
impl From<P16E1> for u8
[src]
impl From<u16> for P16E1
[src]
impl From<P16E1> for u16
[src]
impl From<usize> for P16E1
[src]
impl From<P16E1> for usize
[src]
impl From<i32> for P16E1
[src]
impl From<u32> for P16E1
[src]
impl From<i64> for P16E1
[src]
impl From<u64> for P16E1
[src]
impl From<P16E1> for i32
[src]
impl From<P16E1> for u32
[src]
impl From<P16E1> for i64
[src]
impl From<P16E1> for u64
[src]
impl From<f32> for P16E1
[src]
impl From<f64> for P16E1
[src]
impl From<P16E1> for f32
[src]
impl From<P16E1> for f64
[src]
impl From<P16E1> for Q16E1
[src]
impl From<Q16E1> for P16E1
[src]
impl<'_> From<&'_ Q16E1> for P16E1
[src]
impl From<P8E0> for P16E1
[src]
impl From<P16E1> for P8E0
[src]
impl From<P16E1> for P32E2
[src]
impl From<P32E2> for P16E1
[src]
impl Clone for P16E1
[src]
fn clone(&self) -> P16E1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for P16E1
[src]
impl Bounded for P16E1
[src]
impl ToPrimitive for P16E1
[src]
fn to_i64(&self) -> Option<i64>
[src]
fn to_u64(&self) -> Option<u64>
[src]
fn to_f64(&self) -> Option<f64>
[src]
fn to_isize(&self) -> Option<isize>
[src]
Converts the value of self
to an isize
.
fn to_i8(&self) -> Option<i8>
[src]
Converts the value of self
to an i8
.
fn to_i16(&self) -> Option<i16>
[src]
Converts the value of self
to an i16
.
fn to_i32(&self) -> Option<i32>
[src]
Converts the value of self
to an i32
.
fn to_i128(&self) -> Option<i128>
[src]
Converts the value of self
to an i128
. Read more
fn to_usize(&self) -> Option<usize>
[src]
Converts the value of self
to a usize
.
fn to_u8(&self) -> Option<u8>
[src]
Converts the value of self
to an u8
.
fn to_u16(&self) -> Option<u16>
[src]
Converts the value of self
to an u16
.
fn to_u32(&self) -> Option<u32>
[src]
Converts the value of self
to an u32
.
fn to_u128(&self) -> Option<u128>
[src]
Converts the value of self
to an u128
. Read more
fn to_f32(&self) -> Option<f32>
[src]
Converts the value of self
to an f32
.
impl FromPrimitive for P16E1
[src]
fn from_i8(n: i8) -> Option<P16E1>
[src]
fn from_i16(n: i16) -> Option<P16E1>
[src]
fn from_i32(n: i32) -> Option<P16E1>
[src]
fn from_i64(n: i64) -> Option<P16E1>
[src]
fn from_u8(n: u8) -> Option<P16E1>
[src]
fn from_u16(n: u16) -> Option<P16E1>
[src]
fn from_u32(n: u32) -> Option<P16E1>
[src]
fn from_u64(n: u64) -> Option<P16E1>
[src]
fn from_f32(n: f32) -> Option<P16E1>
[src]
fn from_f64(n: f64) -> Option<P16E1>
[src]
fn from_isize(n: isize) -> Option<Self>
[src]
Convert an isize
to return an optional value of this type. If the value cannot be represented by this value, then None
is returned. Read more
fn from_i128(n: i128) -> Option<Self>
[src]
Convert an i128
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
fn from_usize(n: usize) -> Option<Self>
[src]
Convert a usize
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
fn from_u128(n: u128) -> Option<Self>
[src]
Convert an u128
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
impl NumCast for P16E1
[src]
fn from<N: ToPrimitive>(n: N) -> Option<Self>
[src]
impl Float for P16E1
[src]
fn nan() -> Self
[src]
fn infinity() -> Self
[src]
fn neg_infinity() -> Self
[src]
fn neg_zero() -> Self
[src]
fn min_value() -> Self
[src]
fn min_positive_value() -> Self
[src]
fn max_value() -> Self
[src]
fn is_nan(self) -> bool
[src]
fn is_infinite(self) -> bool
[src]
fn is_finite(self) -> bool
[src]
fn is_normal(self) -> bool
[src]
fn classify(self) -> FpCategory
[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 abs(self) -> Self
[src]
fn signum(self) -> Self
[src]
fn is_sign_positive(self) -> bool
[src]
fn is_sign_negative(self) -> bool
[src]
fn mul_add(self, a: Self, b: Self) -> Self
[src]
fn recip(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 max(self, other: Self) -> Self
[src]
fn min(self, other: Self) -> Self
[src]
fn abs_sub(self, _other: Self) -> Self
[src]
fn cbrt(self) -> Self
[src]
fn hypot(self, other: Self) -> Self
[src]
fn sin(self) -> Self
[src]
fn cos(self) -> Self
[src]
fn tan(self) -> Self
[src]
fn asin(self) -> Self
[src]
fn acos(self) -> Self
[src]
fn atan(self) -> Self
[src]
fn atan2(self, other: Self) -> Self
[src]
fn sin_cos(self) -> (Self, Self)
[src]
fn exp_m1(self) -> Self
[src]
fn ln_1p(self) -> Self
[src]
fn sinh(self) -> Self
[src]
fn cosh(self) -> Self
[src]
fn tanh(self) -> Self
[src]
fn asinh(self) -> Self
[src]
fn acosh(self) -> Self
[src]
fn atanh(self) -> Self
[src]
fn integer_decode(self) -> (u64, i16, i8)
[src]
fn epsilon() -> Self
[src]
Returns epsilon, a small positive value. Read more
fn to_degrees(self) -> Self
[src]
Converts radians to degrees. Read more
fn to_radians(self) -> Self
[src]
Converts degrees to radians. Read more
impl FloatConst for P16E1
[src]
fn E() -> Self
[src]
fn FRAC_1_PI() -> Self
[src]
fn FRAC_1_SQRT_2() -> Self
[src]
fn FRAC_2_PI() -> Self
[src]
fn FRAC_2_SQRT_PI() -> Self
[src]
fn FRAC_PI_2() -> Self
[src]
fn FRAC_PI_3() -> Self
[src]
fn FRAC_PI_4() -> Self
[src]
fn FRAC_PI_6() -> Self
[src]
fn FRAC_PI_8() -> Self
[src]
fn LN_10() -> Self
[src]
fn LN_2() -> Self
[src]
fn LOG10_E() -> Self
[src]
fn LOG2_E() -> Self
[src]
fn PI() -> Self
[src]
fn SQRT_2() -> Self
[src]
impl Num for P16E1
[src]
type FromStrRadixErr = ParseFloatError
fn from_str_radix(src: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
[src]
impl Zero for P16E1
[src]
fn zero() -> Self
[src]
fn is_zero(&self) -> bool
[src]
fn set_zero(&mut self)
[src]
Sets self
to the additive identity element of Self
, 0
.
impl One for P16E1
[src]
fn one() -> Self
[src]
fn is_one(&self) -> bool
[src]
fn set_one(&mut self)
[src]
Sets self
to the multiplicative identity element of Self
, 1
.
impl Signed for P16E1
[src]
Auto Trait Implementations
impl Unpin for P16E1
impl Sync for P16E1
impl Send for P16E1
impl UnwindSafe for P16E1
impl RefUnwindSafe for P16E1
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Real for T where
T: Float,
[src]
T: Float,
fn min_value() -> T
[src]
fn min_positive_value() -> T
[src]
fn epsilon() -> T
[src]
fn max_value() -> T
[src]
fn floor(self) -> T
[src]
fn ceil(self) -> T
[src]
fn round(self) -> T
[src]
fn trunc(self) -> T
[src]
fn fract(self) -> T
[src]
fn abs(self) -> T
[src]
fn signum(self) -> T
[src]
fn is_sign_positive(self) -> bool
[src]
fn is_sign_negative(self) -> bool
[src]
fn mul_add(self, a: T, b: T) -> T
[src]
fn recip(self) -> T
[src]
fn powi(self, n: i32) -> T
[src]
fn powf(self, n: T) -> T
[src]
fn sqrt(self) -> T
[src]
fn exp(self) -> T
[src]
fn exp2(self) -> T
[src]
fn ln(self) -> T
[src]
fn log(self, base: T) -> T
[src]
fn log2(self) -> T
[src]
fn log10(self) -> T
[src]
fn to_degrees(self) -> T
[src]
fn to_radians(self) -> T
[src]
fn max(self, other: T) -> T
[src]
fn min(self, other: T) -> T
[src]
fn abs_sub(self, other: T) -> T
[src]
fn cbrt(self) -> T
[src]
fn hypot(self, other: T) -> T
[src]
fn sin(self) -> T
[src]
fn cos(self) -> T
[src]
fn tan(self) -> T
[src]
fn asin(self) -> T
[src]
fn acos(self) -> T
[src]
fn atan(self) -> T
[src]
fn atan2(self, other: T) -> T
[src]
fn sin_cos(self) -> (T, T)
[src]
fn exp_m1(self) -> T
[src]
fn ln_1p(self) -> T
[src]
fn sinh(self) -> T
[src]
fn cosh(self) -> T
[src]
fn tanh(self) -> T
[src]
fn asinh(self) -> T
[src]
fn acosh(self) -> T
[src]
fn atanh(self) -> T
[src]
impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
[src]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
impl<T, Rhs> NumAssignOps<Rhs> for T where
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
[src]
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
impl<T> NumAssign for T where
T: Num + NumAssignOps<T>,
[src]
T: Num + NumAssignOps<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,