[−][src]Struct softposit::p16e1::P16E1
Methods
impl P16E1
[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 P16E1
[src]
pub const SIZE: usize
[src]
pub const ES: 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 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_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 P16E1
[src]
pub const SIGN_MASK: u16
[src]
pub const REGIME_SIGN_MASK: u16
[src]
Trait Implementations
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 Quire for P16E1
[src]
impl Poly for P16E1
[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 P16E1
[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 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 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 i64
[src]
impl From<P16E1> for u32
[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<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 Debug for P16E1
[src]
impl Display for P16E1
[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 PartialEq<P16E1> for P16E1
[src]
impl Eq for P16E1
[src]
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 Sub<P16E1> for P16E1
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(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 Neg for P16E1
[src]
impl AddAssign<P16E1> for P16E1
[src]
fn add_assign(&mut self, other: Self)
[src]
impl SubAssign<P16E1> for P16E1
[src]
fn sub_assign(&mut self, other: Self)
[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 Default for P16E1
[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,