[−][src]Struct softposit::p32e2::P32E2
Methods
impl P32E2
[src]
pub fn mul_add(self, b: Self, c: Self) -> Self
[src]
pub fn round(self) -> Self
[src]
pub fn sqrt(self) -> Self
[src]
impl P32E2
[src]
pub const SIZE: usize
[src]
pub const ES: 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 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_nan(self) -> bool
[src]
pub fn is_infinite(self) -> bool
[src]
pub fn is_finite(self) -> bool
[src]
pub fn to_degrees(self) -> Self
[src]
pub fn to_radians(self) -> Self
[src]
pub fn max(self, other: Self) -> Self
[src]
pub fn min(self, other: Self) -> Self
[src]
impl P32E2
[src]
pub const SIGN_MASK: u32
[src]
pub const REGIME_SIGN_MASK: u32
[src]
Trait Implementations
impl MathConsts for P32E2
[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 Quire for P32E2
[src]
impl Poly for P32E2
[src]
fn poly1k(x: Self, c: &[Self]) -> Self
[src]
fn poly2k(x: Self, x2: Self, c: &[Self], p: Self) -> Self
[src]
fn poly3k(x: Self, x2: Self, x3: Self, c: &[Self], p: Self) -> Self
[src]
fn poly4k(x: Self, x2: Self, x3: Self, x4: Self, c: &[Self], p: Self) -> Self
[src]
fn poly5k(x: Self, x2: Self, x3: Self, c: &[Self], p: Self) -> Self
[src]
fn poly6k(x: Self, x2: Self, x3: Self, c: &[Self], p: Self) -> Self
[src]
fn poly7k(x: Self, x2: Self, x3: Self, x4: Self, c: &[Self], p: Self) -> Self
[src]
fn poly8k(x: Self, x2: Self, x3: Self, x4: Self, c: &[Self], p: Self) -> Self
[src]
fn poly9k(x: Self, x2: Self, x3: Self, x4: Self, c: &[Self], p: Self) -> Self
[src]
fn poly10k(x: Self, x2: Self, x3: Self, x4: Self, c: &[Self], p: Self) -> Self
[src]
fn poly11k(x: Self, x2: Self, x3: Self, x4: Self, c: &[Self], p: Self) -> Self
[src]
fn poly12k(x: Self, x2: Self, x3: Self, x4: Self, c: &[Self], p: Self) -> Self
[src]
fn poly13k(x: Self, x2: Self, x3: Self, x4: Self, c: &[Self], p: Self) -> Self
[src]
fn poly14k(x: Self, x2: Self, x3: Self, x4: Self, c: &[Self], p: Self) -> Self
[src]
fn poly15k(x: Self, x2: Self, x3: Self, x4: Self, c: &[Self], p: Self) -> Self
[src]
fn poly16k(x: Self, x2: Self, x3: Self, x4: Self, c: &[Self], p: Self) -> Self
[src]
fn poly17k(x: Self, x2: Self, x3: Self, x4: Self, c: &[Self], p: Self) -> Self
[src]
fn poly18k(x: Self, x2: Self, x3: Self, x4: Self, c: &[Self], p: Self) -> Self
[src]
impl Polynom for P32E2
[src]
fn poly1(self, c: &[Self]) -> Self
[src]
fn poly2(self, c: &[Self]) -> Self
[src]
fn poly3(self, c: &[Self]) -> Self
[src]
fn poly4(self, c: &[Self]) -> Self
[src]
fn poly5(self, c: &[Self]) -> Self
[src]
fn poly6(self, c: &[Self]) -> Self
[src]
fn poly7(self, c: &[Self]) -> Self
[src]
fn poly8(self, c: &[Self]) -> Self
[src]
fn poly9(self, c: &[Self]) -> Self
[src]
fn poly10(self, c: &[Self]) -> Self
[src]
fn poly11(self, c: &[Self]) -> Self
[src]
fn poly12(self, c: &[Self]) -> Self
[src]
fn poly13(self, c: &[Self]) -> Self
[src]
fn poly14(self, c: &[Self]) -> Self
[src]
fn poly15(self, c: &[Self]) -> Self
[src]
fn poly16(self, c: &[Self]) -> Self
[src]
fn poly17(self, c: &[Self]) -> Self
[src]
fn poly18(self, c: &[Self]) -> Self
[src]
fn poly3a(self, c: &[Self]) -> Self
[src]
fn poly4a(self, c: &[Self]) -> Self
[src]
impl Copy for P32E2
[src]
impl Clone for P32E2
[src]
fn clone(&self) -> P32E2
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
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<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 Debug for P32E2
[src]
impl Display for P32E2
[src]
impl Rem<P32E2> for P32E2
[src]
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, _other: Self) -> Self
[src]
impl PartialEq<P32E2> for P32E2
[src]
impl Eq for P32E2
[src]
impl PartialOrd<P32E2> for P32E2
[src]
fn partial_cmp(&self, other: &P32E2) -> Option<Ordering>
[src]
fn lt(&self, other: &P32E2) -> bool
[src]
fn le(&self, other: &P32E2) -> bool
[src]
fn gt(&self, other: &P32E2) -> bool
[src]
fn ge(&self, other: &P32E2) -> bool
[src]
impl FromStr for P32E2
[src]
type Err = ParseFloatError
The associated error which can be returned from parsing.
fn from_str(src: &str) -> Result<Self, ParseFloatError>
[src]
impl Add<P32E2> for P32E2
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl Sub<P32E2> for P32E2
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
impl Mul<P32E2> for P32E2
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: Self) -> Self
[src]
impl Div<P32E2> for P32E2
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: Self) -> Self
[src]
impl Neg for P32E2
[src]
impl AddAssign<P32E2> for P32E2
[src]
fn add_assign(&mut self, other: Self)
[src]
impl SubAssign<P32E2> for P32E2
[src]
fn sub_assign(&mut self, other: Self)
[src]
impl MulAssign<P32E2> for P32E2
[src]
fn mul_assign(&mut self, other: Self)
[src]
impl DivAssign<P32E2> for P32E2
[src]
fn div_assign(&mut self, other: Self)
[src]
impl RemAssign<P32E2> for P32E2
[src]
fn rem_assign(&mut self, other: Self)
[src]
impl Hash for P32E2
[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 Default for P32E2
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
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, 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,