[][src]Struct f128::f128

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

Implementations

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_SUBNORMAL: f128[src]

pub const MIN_POSITIVE_NORMAL: f128[src]

pub const MIN_POSITIVE: f128[src]

The smallest positive normal number. This is larger than MIN_POSITIVE_SUBNORMAL, and equal to MIN_POSITIVE_NORMAL

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>(a: T) -> f128 where
    T: Into<f128>, 
[src]

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

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

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

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

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

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

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

Trait Implementations

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<'a> Add<f128> for &'a f128[src]

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

The resulting type after applying the + operator.

impl Add<f128> for f128[src]

type Output = f128

The resulting type after applying the + operator.

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

impl AddAssign<f128> for f128[src]

impl Clone for f128[src]

impl Copy for f128[src]

impl Debug for f128[src]

impl Display for f128[src]

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<'a> Div<&'a f128> for f128[src]

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

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 Div<f128> for f128[src]

type Output = f128

The resulting type after applying the / operator.

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

impl DivAssign<f128> for f128[src]

impl Float for f128[src]

impl FloatConst for f128[src]

impl From<f32> for f128[src]

impl From<f64> for f128[src]

impl From<i128> for f128[src]

impl From<i16> for f128[src]

impl From<i32> for f128[src]

impl From<i64> for f128[src]

impl From<i8> for f128[src]

impl From<isize> for f128[src]

impl From<u128> for f128[src]

impl From<u16> for f128[src]

impl From<u32> for f128[src]

impl From<u64> for f128[src]

impl From<u8> for f128[src]

impl From<usize> for f128[src]

impl FromPrimitive for f128[src]

impl Into<f32> for f128[src]

impl Into<f64> for f128[src]

impl Into<i128> for f128[src]

impl Into<i16> for f128[src]

impl Into<i32> for f128[src]

impl Into<i64> for f128[src]

impl Into<i8> for f128[src]

impl Into<isize> for f128[src]

impl Into<u128> for f128[src]

impl Into<u16> for f128[src]

impl Into<u32> for f128[src]

impl Into<u64> for f128[src]

impl Into<u8> for f128[src]

impl Into<usize> for f128[src]

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 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> MulAssign<&'a f128> for f128[src]

impl MulAssign<f128> for f128[src]

impl Neg for f128[src]

type Output = f128

The resulting type after applying the - operator.

impl Num for f128[src]

type FromStrRadixErr = ()

impl NumCast for f128[src]

impl One for f128[src]

impl PartialEq<f128> for f128[src]

impl PartialOrd<f128> for f128[src]

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

impl Product<f128> for f128[src]

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

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

The resulting type after applying the % operator.

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

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

The resulting type after applying the % operator.

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

type Output = <f128 as Rem<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> RemAssign<&'a f128> for f128[src]

impl RemAssign<f128> for f128[src]

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<'a> Shl<&'a i128> for f128[src]

type Output = <f128 as Shl<i128>>::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<'a, 'b> Shl<&'a i32> for &'b 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> 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<'a, 'b> Shl<&'a i8> for &'b 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> 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<'a, 'b> Shl<&'a u128> for &'b 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> 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<'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<'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<'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<'a, 'b> Shl<&'a usize> for &'b 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 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<i16> for &'a f128[src]

type Output = <f128 as Shl<i16>>::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<i32> for &'a f128[src]

type Output = <f128 as Shl<i32>>::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 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 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<isize> for &'a f128[src]

type Output = <f128 as Shl<isize>>::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 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<u16> for &'a f128[src]

type Output = <f128 as Shl<u16>>::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<u32> for &'a f128[src]

type Output = <f128 as Shl<u32>>::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<u64> for &'a f128[src]

type Output = <f128 as Shl<u64>>::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 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 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 ShlAssign<i128> for f128[src]

impl ShlAssign<i16> for f128[src]

impl ShlAssign<i32> for f128[src]

impl ShlAssign<i64> for f128[src]

impl ShlAssign<i8> for f128[src]

impl ShlAssign<isize> for f128[src]

impl ShlAssign<u128> for f128[src]

impl ShlAssign<u16> for f128[src]

impl ShlAssign<u32> for f128[src]

impl ShlAssign<u64> for f128[src]

impl ShlAssign<u8> for f128[src]

impl ShlAssign<usize> for f128[src]

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<'a, 'b> Shr<&'a i16> for &'b 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> 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<'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<'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<'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<'a, 'b> Shr<&'a u128> for &'b 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 u16> for &'b 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 u32> for &'b 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 u64> for &'b 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 u8> for &'b 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> 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<'a> Shr<i128> for &'a f128[src]

type Output = <f128 as Shr<i128>>::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<i16> for &'a f128[src]

type Output = <f128 as Shr<i16>>::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 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<i64> for &'a f128[src]

type Output = <f128 as Shr<i64>>::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 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 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 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<u16> for &'a f128[src]

type Output = <f128 as Shr<u16>>::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<u32> for &'a f128[src]

type Output = <f128 as Shr<u32>>::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 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<u8> for &'a f128[src]

type Output = <f128 as Shr<u8>>::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<usize> for &'a f128[src]

type Output = <f128 as Shr<usize>>::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 ShrAssign<i128> for f128[src]

impl ShrAssign<i16> for f128[src]

impl ShrAssign<i32> for f128[src]

impl ShrAssign<i64> for f128[src]

impl ShrAssign<i8> for f128[src]

impl ShrAssign<isize> for f128[src]

impl ShrAssign<u128> for f128[src]

impl ShrAssign<u16> for f128[src]

impl ShrAssign<u32> for f128[src]

impl ShrAssign<u64> for f128[src]

impl ShrAssign<u8> for f128[src]

impl ShrAssign<usize> for f128[src]

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 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> SubAssign<&'a f128> for f128[src]

impl SubAssign<f128> for f128[src]

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

impl Sum<f128> for f128[src]

impl ToPrimitive for f128[src]

impl Zero for f128[src]

Auto Trait Implementations

impl RefUnwindSafe for f128

impl Send for f128

impl Sync for f128

impl Unpin for f128

impl UnwindSafe for f128

Blanket Implementations

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

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

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

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

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

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

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

impl<T> NumAssignRef for T where
    T: NumAssign + for<'r> NumAssignOps<&'r 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]

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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> 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.