[][src]Struct softposit::p32e2::P32E2

pub struct P32E2(_);

Methods

impl P32E2[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, other: Self) -> Self[src]

pub fn sqrt(self) -> Self[src]

pub fn exp(self) -> Self[src]

pub fn exp2(self) -> Self[src]

pub fn exp10(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]

impl P32E2[src]

pub const SIZE: usize[src]

pub const ES: usize[src]

pub const USEED: usize[src]

pub const EPSILON: Self[src]

Machine epsilon (7.450580596923828e-9).

pub const MIN: Self[src]

Smallest finite value (-1.329227996_e36).

pub const MIN_POSITIVE: Self[src]

Smallest positive normal value (7.523163845_e-37).

pub const MAX: Self[src]

Largest finite value (1.329227996_e36).

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: i32) -> Self[src]

pub fn from_bits(v: u32) -> Self[src]

pub fn to_bits(self) -> u32[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 P32E2[src]

Trait Implementations

impl Polynom<P32E2> for P32E2[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<[P32E2; 1]> for P32E2[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<[P32E2; 2]> for P32E2[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<[P32E2; 3]> for P32E2[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<[P32E2; 4]> for P32E2[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 P32E2[src]

impl AssociatedQuire<P32E2> for P32E2[src]

type Q = Q32E2

impl Quire<P32E2> for Q32E2[src]

type Bits = [u64; 8]

impl PartialEq<P32E2> for P32E2[src]

impl Eq for P32E2[src]

impl Ord for P32E2[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl PartialOrd<P32E2> for P32E2[src]

impl Hash for P32E2[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Copy for P32E2[src]

impl Add<P32E2> for P32E2[src]

type Output = Self

The resulting type after applying the + operator.

impl Sub<P32E2> for P32E2[src]

type Output = Self

The resulting type after applying the - operator.

impl Mul<P32E2> for P32E2[src]

type Output = Self

The resulting type after applying the * operator.

impl Div<P32E2> for P32E2[src]

type Output = Self

The resulting type after applying the / operator.

impl Rem<P32E2> for P32E2[src]

type Output = Self

The resulting type after applying the % operator.

impl Neg for P32E2[src]

type Output = Self

The resulting type after applying the - operator.

impl AddAssign<P32E2> for P32E2[src]

impl AddAssign<P32E2> for Q32E2[src]

impl SubAssign<P32E2> for P32E2[src]

impl SubAssign<P32E2> for Q32E2[src]

impl MulAssign<P32E2> for P32E2[src]

impl DivAssign<P32E2> for P32E2[src]

impl RemAssign<P32E2> for P32E2[src]

impl Debug for P32E2[src]

impl Display for P32E2[src]

impl FromStr for P32E2[src]

type Err = ParseFloatError

The associated error which can be returned from parsing.

impl From<i8> for P32E2[src]

impl From<P32E2> for i8[src]

impl From<i16> for P32E2[src]

impl From<P32E2> for i16[src]

impl From<isize> for P32E2[src]

impl From<P32E2> for isize[src]

impl From<u8> for P32E2[src]

impl From<P32E2> for u8[src]

impl From<u16> for P32E2[src]

impl From<P32E2> for u16[src]

impl From<usize> for P32E2[src]

impl From<P32E2> for usize[src]

impl From<f32> for P32E2[src]

impl From<f64> for P32E2[src]

impl From<P32E2> for f32[src]

impl From<P32E2> for f64[src]

impl From<P32E2> for i32[src]

impl From<P32E2> for u32[src]

impl From<P32E2> for i64[src]

impl From<P32E2> for u64[src]

impl From<i32> for P32E2[src]

impl From<u32> for P32E2[src]

impl From<i64> for P32E2[src]

impl From<u64> for P32E2[src]

impl From<P32E2> for Q32E2[src]

impl From<Q32E2> for P32E2[src]

impl<'_> From<&'_ Q32E2> for P32E2[src]

impl From<P16E1> for P32E2[src]

impl From<P32E2> for P16E1[src]

impl From<P8E0> for P32E2[src]

impl From<P32E2> for P8E0[src]

impl Clone for P32E2[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for P32E2[src]

impl Bounded for P32E2[src]

impl ToPrimitive for P32E2[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 P32E2[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 P32E2[src]

impl Float for P32E2[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 P32E2[src]

impl Num for P32E2[src]

type FromStrRadixErr = ParseFloatError

impl Zero for P32E2[src]

fn set_zero(&mut self)[src]

Sets self to the additive identity element of Self, 0.

impl One for P32E2[src]

fn set_one(&mut self)[src]

Sets self to the multiplicative identity element of Self, 1.

impl Signed for P32E2[src]

Auto Trait Implementations

impl Send for P32E2

impl Sync for P32E2

impl Unpin for P32E2

impl UnwindSafe for P32E2

impl RefUnwindSafe for P32E2

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Real for T where
    T: Float
[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]

impl<T, Rhs> NumAssignOps<Rhs> for T where
    T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>, 
[src]

impl<T> NumAssign for T where
    T: Num + NumAssignOps<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.