[][src]Struct f128_internal::f128

#[repr(C)]
pub struct f128(_);

Methods

impl f128[src]

pub const RADIX: u32[src]

pub const MANTISSA_DIGITS: u32[src]

pub const MAX_10_EXP: u32[src]

pub const MAX_EXP: u32[src]

pub const MIN_10_EXP: i32[src]

pub const MIN_EXP: i32[src]

pub const ZERO: f128[src]

pub const SIGN_BIT: f128[src]

pub const EXPONENT_BITS: f128[src]

pub const FRACTION_BITS: f128[src]

pub const MIN: f128[src]

pub const MIN_POSITIVE: f128[src]

pub const ONE: f128[src]

pub const TWO: f128[src]

pub const E: f128[src]

pub const PI: f128[src]

pub const INFINITY: f128[src]

pub const NAN: f128[src]

pub const NEG_INFINITY: f128[src]

pub const EPSILON: f128[src]

pub const NEG_ZERO: f128[src]

pub const MAX: f128[src]

pub fn new<T: Into<f128>>(a: T) -> Self[src]

pub fn to_string(&self) -> String[src]

pub fn to_string_fmt<T: AsRef<str>>(&self, fmt: T) -> Option<String>[src]

pub fn inner(&self) -> [u8; 16][src]

pub fn into_inner(self) -> [u8; 16][src]

pub fn parse<T: AsRef<str>>(s: T) -> Result<Self, NulError>[src]

pub fn exp_bits(&self) -> u32[src]

pub fn fract_bits(&self) -> u128[src]

pub fn bitwise_eq(self, other: Self) -> bool[src]

Trait Implementations

impl Clone for f128[src]

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

Performs copy-assignment from source. Read more

impl Into<isize> for f128[src]

impl Into<i8> for f128[src]

impl Into<i16> for f128[src]

impl Into<i32> for f128[src]

impl Into<i64> for f128[src]

impl Into<i128> for f128[src]

impl Into<usize> for f128[src]

impl Into<u8> for f128[src]

impl Into<u16> for f128[src]

impl Into<u32> for f128[src]

impl Into<u64> for f128[src]

impl Into<u128> for f128[src]

impl Into<f32> for f128[src]

impl Into<f64> for f128[src]

impl PartialOrd<f128> for f128[src]

#[must_use]
default fn lt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use]
default fn le(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use]
default fn gt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use]
default fn ge(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Copy for f128[src]

impl PartialEq<f128> for f128[src]

impl From<isize> for f128[src]

impl From<i8> for f128[src]

impl From<i16> for f128[src]

impl From<i32> for f128[src]

impl From<i64> for f128[src]

impl From<i128> for f128[src]

impl From<usize> for f128[src]

impl From<u8> for f128[src]

impl From<u16> for f128[src]

impl From<u32> for f128[src]

impl From<u64> for f128[src]

impl From<u128> for f128[src]

impl From<f32> for f128[src]

impl From<f64> for f128[src]

impl Debug for f128[src]

impl Add<f128> for f128[src]

type Output = f128

The resulting type after applying the + operator.

impl<'a> Add<f128> for &'a f128[src]

type Output = <f128 as Add<f128>>::Output

The resulting type after applying the + operator.

impl<'a> Add<&'a f128> for f128[src]

type Output = <f128 as Add<f128>>::Output

The resulting type after applying the + operator.

impl<'a, 'b> Add<&'a f128> for &'b f128[src]

type Output = <f128 as Add<f128>>::Output

The resulting type after applying the + operator.

impl Sub<f128> for f128[src]

type Output = f128

The resulting type after applying the - operator.

impl<'a> Sub<f128> for &'a f128[src]

type Output = <f128 as Sub<f128>>::Output

The resulting type after applying the - operator.

impl<'a> Sub<&'a f128> for f128[src]

type Output = <f128 as Sub<f128>>::Output

The resulting type after applying the - operator.

impl<'a, 'b> Sub<&'a f128> for &'b f128[src]

type Output = <f128 as Sub<f128>>::Output

The resulting type after applying the - operator.

impl Mul<f128> for f128[src]

type Output = f128

The resulting type after applying the * operator.

impl<'a> Mul<f128> for &'a f128[src]

type Output = <f128 as Mul<f128>>::Output

The resulting type after applying the * operator.

impl<'a> Mul<&'a f128> for f128[src]

type Output = <f128 as Mul<f128>>::Output

The resulting type after applying the * operator.

impl<'a, 'b> Mul<&'a f128> for &'b f128[src]

type Output = <f128 as Mul<f128>>::Output

The resulting type after applying the * operator.

impl Div<f128> for f128[src]

type Output = f128

The resulting type after applying the / operator.

impl<'a> Div<f128> for &'a f128[src]

type Output = <f128 as Div<f128>>::Output

The resulting type after applying the / operator.

impl<'a> Div<&'a f128> for f128[src]

type Output = <f128 as Div<f128>>::Output

The resulting type after applying the / operator.

impl<'a, 'b> Div<&'a f128> for &'b f128[src]

type Output = <f128 as Div<f128>>::Output

The resulting type after applying the / operator.

impl Rem<f128> for f128[src]

type Output = f128

The resulting type after applying the % operator.

impl<'a> Rem<&'a f128> for f128[src]

type Output = f128

The resulting type after applying the % operator.

impl<'a, 'b> Rem<&'a f128> for &'b f128[src]

type Output = f128

The resulting type after applying the % operator.

impl<'a> Rem<f128> for &'a f128[src]

type Output = f128

The resulting type after applying the % operator.

impl Neg for f128[src]

type Output = Self

The resulting type after applying the - operator.

impl AddAssign<f128> for f128[src]

impl SubAssign<f128> for f128[src]

impl MulAssign<f128> for f128[src]

impl DivAssign<f128> for f128[src]

impl Shl<u8> for f128[src]

type Output = f128

The resulting type after applying the << operator.

impl<'a> Shl<u8> for &'a f128[src]

type Output = <f128 as Shl<u8>>::Output

The resulting type after applying the << operator.

impl<'a> Shl<&'a u8> for f128[src]

type Output = <f128 as Shl<u8>>::Output

The resulting type after applying the << operator.

impl<'a, 'b> Shl<&'a u8> for &'b f128[src]

type Output = <f128 as Shl<u8>>::Output

The resulting type after applying the << operator.

impl Shl<u16> for f128[src]

type Output = f128

The resulting type after applying the << operator.

impl<'a> Shl<u16> for &'a f128[src]

type Output = <f128 as Shl<u16>>::Output

The resulting type after applying the << operator.

impl<'a> Shl<&'a u16> for f128[src]

type Output = <f128 as Shl<u16>>::Output

The resulting type after applying the << operator.

impl<'a, 'b> Shl<&'a u16> for &'b f128[src]

type Output = <f128 as Shl<u16>>::Output

The resulting type after applying the << operator.

impl Shl<u32> for f128[src]

type Output = f128

The resulting type after applying the << operator.

impl<'a> Shl<u32> for &'a f128[src]

type Output = <f128 as Shl<u32>>::Output

The resulting type after applying the << operator.

impl<'a> Shl<&'a u32> for f128[src]

type Output = <f128 as Shl<u32>>::Output

The resulting type after applying the << operator.

impl<'a, 'b> Shl<&'a u32> for &'b f128[src]

type Output = <f128 as Shl<u32>>::Output

The resulting type after applying the << operator.

impl Shl<u64> for f128[src]

type Output = f128

The resulting type after applying the << operator.

impl<'a> Shl<u64> for &'a f128[src]

type Output = <f128 as Shl<u64>>::Output

The resulting type after applying the << operator.

impl<'a> Shl<&'a u64> for f128[src]

type Output = <f128 as Shl<u64>>::Output

The resulting type after applying the << operator.

impl<'a, 'b> Shl<&'a u64> for &'b f128[src]

type Output = <f128 as Shl<u64>>::Output

The resulting type after applying the << operator.

impl Shl<u128> for f128[src]

type Output = f128

The resulting type after applying the << operator.

impl<'a> Shl<u128> for &'a f128[src]

type Output = <f128 as Shl<u128>>::Output

The resulting type after applying the << operator.

impl<'a> Shl<&'a u128> for f128[src]

type Output = <f128 as Shl<u128>>::Output

The resulting type after applying the << operator.

impl<'a, 'b> Shl<&'a u128> for &'b f128[src]

type Output = <f128 as Shl<u128>>::Output

The resulting type after applying the << operator.

impl Shl<usize> for f128[src]

type Output = f128

The resulting type after applying the << operator.

impl<'a> Shl<usize> for &'a f128[src]

type Output = <f128 as Shl<usize>>::Output

The resulting type after applying the << operator.

impl<'a> Shl<&'a usize> for f128[src]

type Output = <f128 as Shl<usize>>::Output

The resulting type after applying the << operator.

impl<'a, 'b> Shl<&'a usize> for &'b f128[src]

type Output = <f128 as Shl<usize>>::Output

The resulting type after applying the << operator.

impl Shl<i8> for f128[src]

type Output = f128

The resulting type after applying the << operator.

impl<'a> Shl<i8> for &'a f128[src]

type Output = <f128 as Shl<i8>>::Output

The resulting type after applying the << operator.

impl<'a> Shl<&'a i8> for f128[src]

type Output = <f128 as Shl<i8>>::Output

The resulting type after applying the << operator.

impl<'a, 'b> Shl<&'a i8> for &'b f128[src]

type Output = <f128 as Shl<i8>>::Output

The resulting type after applying the << operator.

impl Shl<i16> for f128[src]

type Output = f128

The resulting type after applying the << operator.

impl<'a> Shl<i16> for &'a f128[src]

type Output = <f128 as Shl<i16>>::Output

The resulting type after applying the << operator.

impl<'a> Shl<&'a i16> for f128[src]

type Output = <f128 as Shl<i16>>::Output

The resulting type after applying the << operator.

impl<'a, 'b> Shl<&'a i16> for &'b f128[src]

type Output = <f128 as Shl<i16>>::Output

The resulting type after applying the << operator.

impl Shl<i32> for f128[src]

type Output = f128

The resulting type after applying the << operator.

impl<'a> Shl<i32> for &'a f128[src]

type Output = <f128 as Shl<i32>>::Output

The resulting type after applying the << operator.

impl<'a> Shl<&'a i32> for f128[src]

type Output = <f128 as Shl<i32>>::Output

The resulting type after applying the << operator.

impl<'a, 'b> Shl<&'a i32> for &'b f128[src]

type Output = <f128 as Shl<i32>>::Output

The resulting type after applying the << operator.

impl Shl<i64> for f128[src]

type Output = f128

The resulting type after applying the << operator.

impl<'a> Shl<i64> for &'a f128[src]

type Output = <f128 as Shl<i64>>::Output

The resulting type after applying the << operator.

impl<'a> Shl<&'a i64> for f128[src]

type Output = <f128 as Shl<i64>>::Output

The resulting type after applying the << operator.

impl<'a, 'b> Shl<&'a i64> for &'b f128[src]

type Output = <f128 as Shl<i64>>::Output

The resulting type after applying the << operator.

impl Shl<i128> for f128[src]

type Output = f128

The resulting type after applying the << operator.

impl<'a> Shl<i128> for &'a f128[src]

type Output = <f128 as Shl<i128>>::Output

The resulting type after applying the << operator.

impl<'a> Shl<&'a i128> for f128[src]

type Output = <f128 as Shl<i128>>::Output

The resulting type after applying the << operator.

impl<'a, 'b> Shl<&'a i128> for &'b f128[src]

type Output = <f128 as Shl<i128>>::Output

The resulting type after applying the << operator.

impl Shl<isize> for f128[src]

type Output = f128

The resulting type after applying the << operator.

impl<'a> Shl<isize> for &'a f128[src]

type Output = <f128 as Shl<isize>>::Output

The resulting type after applying the << operator.

impl<'a> Shl<&'a isize> for f128[src]

type Output = <f128 as Shl<isize>>::Output

The resulting type after applying the << operator.

impl<'a, 'b> Shl<&'a isize> for &'b f128[src]

type Output = <f128 as Shl<isize>>::Output

The resulting type after applying the << operator.

impl Shr<u8> for f128[src]

type Output = f128

The resulting type after applying the >> operator.

impl<'a> Shr<u8> for &'a f128[src]

type Output = <f128 as Shr<u8>>::Output

The resulting type after applying the >> operator.

impl<'a> Shr<&'a u8> for f128[src]

type Output = <f128 as Shr<u8>>::Output

The resulting type after applying the >> operator.

impl<'a, 'b> Shr<&'a u8> for &'b f128[src]

type Output = <f128 as Shr<u8>>::Output

The resulting type after applying the >> operator.

impl Shr<u16> for f128[src]

type Output = f128

The resulting type after applying the >> operator.

impl<'a> Shr<u16> for &'a f128[src]

type Output = <f128 as Shr<u16>>::Output

The resulting type after applying the >> operator.

impl<'a> Shr<&'a u16> for f128[src]

type Output = <f128 as Shr<u16>>::Output

The resulting type after applying the >> operator.

impl<'a, 'b> Shr<&'a u16> for &'b f128[src]

type Output = <f128 as Shr<u16>>::Output

The resulting type after applying the >> operator.

impl Shr<u32> for f128[src]

type Output = f128

The resulting type after applying the >> operator.

impl<'a> Shr<u32> for &'a f128[src]

type Output = <f128 as Shr<u32>>::Output

The resulting type after applying the >> operator.

impl<'a> Shr<&'a u32> for f128[src]

type Output = <f128 as Shr<u32>>::Output

The resulting type after applying the >> operator.

impl<'a, 'b> Shr<&'a u32> for &'b f128[src]

type Output = <f128 as Shr<u32>>::Output

The resulting type after applying the >> operator.

impl Shr<u64> for f128[src]

type Output = f128

The resulting type after applying the >> operator.

impl<'a> Shr<u64> for &'a f128[src]

type Output = <f128 as Shr<u64>>::Output

The resulting type after applying the >> operator.

impl<'a> Shr<&'a u64> for f128[src]

type Output = <f128 as Shr<u64>>::Output

The resulting type after applying the >> operator.

impl<'a, 'b> Shr<&'a u64> for &'b f128[src]

type Output = <f128 as Shr<u64>>::Output

The resulting type after applying the >> operator.

impl Shr<u128> for f128[src]

type Output = f128

The resulting type after applying the >> operator.

impl<'a> Shr<u128> for &'a f128[src]

type Output = <f128 as Shr<u128>>::Output

The resulting type after applying the >> operator.

impl<'a> Shr<&'a u128> for f128[src]

type Output = <f128 as Shr<u128>>::Output

The resulting type after applying the >> operator.

impl<'a, 'b> Shr<&'a u128> for &'b f128[src]

type Output = <f128 as Shr<u128>>::Output

The resulting type after applying the >> operator.

impl Shr<usize> for f128[src]

type Output = f128

The resulting type after applying the >> operator.

impl<'a> Shr<usize> for &'a f128[src]

type Output = <f128 as Shr<usize>>::Output

The resulting type after applying the >> operator.

impl<'a> Shr<&'a usize> for f128[src]

type Output = <f128 as Shr<usize>>::Output

The resulting type after applying the >> operator.

impl<'a, 'b> Shr<&'a usize> for &'b f128[src]

type Output = <f128 as Shr<usize>>::Output

The resulting type after applying the >> operator.

impl Shr<i8> for f128[src]

type Output = f128

The resulting type after applying the >> operator.

impl<'a> Shr<i8> for &'a f128[src]

type Output = <f128 as Shr<i8>>::Output

The resulting type after applying the >> operator.

impl<'a> Shr<&'a i8> for f128[src]

type Output = <f128 as Shr<i8>>::Output

The resulting type after applying the >> operator.

impl<'a, 'b> Shr<&'a i8> for &'b f128[src]

type Output = <f128 as Shr<i8>>::Output

The resulting type after applying the >> operator.

impl Shr<i16> for f128[src]

type Output = f128

The resulting type after applying the >> operator.

impl<'a> Shr<i16> for &'a f128[src]

type Output = <f128 as Shr<i16>>::Output

The resulting type after applying the >> operator.

impl<'a> Shr<&'a i16> for f128[src]

type Output = <f128 as Shr<i16>>::Output

The resulting type after applying the >> operator.

impl<'a, 'b> Shr<&'a i16> for &'b f128[src]

type Output = <f128 as Shr<i16>>::Output

The resulting type after applying the >> operator.

impl Shr<i32> for f128[src]

type Output = f128

The resulting type after applying the >> operator.

impl<'a> Shr<i32> for &'a f128[src]

type Output = <f128 as Shr<i32>>::Output

The resulting type after applying the >> operator.

impl<'a> Shr<&'a i32> for f128[src]

type Output = <f128 as Shr<i32>>::Output

The resulting type after applying the >> operator.

impl<'a, 'b> Shr<&'a i32> for &'b f128[src]

type Output = <f128 as Shr<i32>>::Output

The resulting type after applying the >> operator.

impl Shr<i64> for f128[src]

type Output = f128

The resulting type after applying the >> operator.

impl<'a> Shr<i64> for &'a f128[src]

type Output = <f128 as Shr<i64>>::Output

The resulting type after applying the >> operator.

impl<'a> Shr<&'a i64> for f128[src]

type Output = <f128 as Shr<i64>>::Output

The resulting type after applying the >> operator.

impl<'a, 'b> Shr<&'a i64> for &'b f128[src]

type Output = <f128 as Shr<i64>>::Output

The resulting type after applying the >> operator.

impl Shr<i128> for f128[src]

type Output = f128

The resulting type after applying the >> operator.

impl<'a> Shr<i128> for &'a f128[src]

type Output = <f128 as Shr<i128>>::Output

The resulting type after applying the >> operator.

impl<'a> Shr<&'a i128> for f128[src]

type Output = <f128 as Shr<i128>>::Output

The resulting type after applying the >> operator.

impl<'a, 'b> Shr<&'a i128> for &'b f128[src]

type Output = <f128 as Shr<i128>>::Output

The resulting type after applying the >> operator.

impl Shr<isize> for f128[src]

type Output = f128

The resulting type after applying the >> operator.

impl<'a> Shr<isize> for &'a f128[src]

type Output = <f128 as Shr<isize>>::Output

The resulting type after applying the >> operator.

impl<'a> Shr<&'a isize> for f128[src]

type Output = <f128 as Shr<isize>>::Output

The resulting type after applying the >> operator.

impl<'a, 'b> Shr<&'a isize> for &'b f128[src]

type Output = <f128 as Shr<isize>>::Output

The resulting type after applying the >> operator.

impl ShlAssign<u8> for f128[src]

impl ShlAssign<u16> for f128[src]

impl ShlAssign<u32> for f128[src]

impl ShlAssign<u64> for f128[src]

impl ShlAssign<u128> for f128[src]

impl ShlAssign<usize> for f128[src]

impl ShlAssign<i8> for f128[src]

impl ShlAssign<i16> for f128[src]

impl ShlAssign<i32> for f128[src]

impl ShlAssign<i64> for f128[src]

impl ShlAssign<i128> for f128[src]

impl ShlAssign<isize> for f128[src]

impl ShrAssign<u8> for f128[src]

impl ShrAssign<u16> for f128[src]

impl ShrAssign<u32> for f128[src]

impl ShrAssign<u64> for f128[src]

impl ShrAssign<u128> for f128[src]

impl ShrAssign<usize> for f128[src]

impl ShrAssign<i8> for f128[src]

impl ShrAssign<i16> for f128[src]

impl ShrAssign<i32> for f128[src]

impl ShrAssign<i64> for f128[src]

impl ShrAssign<i128> for f128[src]

impl ShrAssign<isize> for f128[src]

impl Product<f128> for f128[src]

impl<'a> Product<&'a f128> for f128[src]

impl Sum<f128> for f128[src]

impl<'a> Sum<&'a f128> for f128[src]

impl ToPrimitive for f128[src]

impl FromPrimitive for f128[src]

impl NumCast for f128[src]

impl Float for f128[src]

default fn epsilon() -> Self[src]

Returns epsilon, a small positive value. Read more

default fn to_degrees(self) -> Self[src]

Converts radians to degrees. Read more

default fn to_radians(self) -> Self[src]

Converts degrees to radians. Read more

impl Num for f128[src]

type FromStrRadixErr = ()

impl Zero for f128[src]

impl One for f128[src]

default fn is_one(&self) -> bool where
    Self: PartialEq<Self>, 
[src]

Returns true if self is equal to the multiplicative identity. Read more

Auto Trait Implementations

impl Send for f128

impl Sync for f128

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Real for T where
    T: Float
[src]

impl<T, Rhs, Output> NumOps 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> NumRef for T where
    T: Num + NumOps<&'r T, T>, 
[src]

impl<T, Base> RefNum for T where
    T: NumOps<Base, Base> + NumOps<&'r Base, Base>, 
[src]