[−][src]Struct rustc_apfloat::ppc::DoubleFloat
Trait Implementations
impl<F> Add<DoubleFloat<F>> for DoubleFloat<F> where
Self: Float, [src]
Self: Float,
type Output = StatusAnd<Self>
The resulting type after applying the + operator.
pub fn add(self, rhs: Self) -> StatusAnd<Self>[src]
impl<F> AddAssign<DoubleFloat<F>> for DoubleFloat<F> where
Self: Float, [src]
Self: Float,
pub fn add_assign(&mut self, rhs: Self)[src]
impl<F: Clone> Clone for DoubleFloat<F>[src]
pub fn clone(&self) -> DoubleFloat<F>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<F: Copy> Copy for DoubleFloat<F>[src]
impl<F: Debug> Debug for DoubleFloat<F>[src]
impl<F> Default for DoubleFloat<F> where
Self: Float, [src]
Self: Float,
impl<F: FloatConvert<IeeeFloat<FallbackS<F>>>> Display for DoubleFloat<F>[src]
impl<F> Div<DoubleFloat<F>> for DoubleFloat<F> where
Self: Float, [src]
Self: Float,
type Output = StatusAnd<Self>
The resulting type after applying the / operator.
pub fn div(self, rhs: Self) -> StatusAnd<Self>[src]
impl<F> DivAssign<DoubleFloat<F>> for DoubleFloat<F> where
Self: Float, [src]
Self: Float,
pub fn div_assign(&mut self, rhs: Self)[src]
impl<F: FloatConvert<IeeeFloat<FallbackS<F>>>> Float for DoubleFloat<F> where
Self: From<IeeeFloat<FallbackS<F>>>, [src]
Self: From<IeeeFloat<FallbackS<F>>>,
pub const BITS: usize[src]
pub const PRECISION: usize[src]
pub const MAX_EXP: ExpInt[src]
pub const MIN_EXP: ExpInt[src]
pub const ZERO: Self[src]
pub const INFINITY: Self[src]
pub const NAN: Self[src]
pub fn qnan(payload: Option<u128>) -> Self[src]
pub fn snan(payload: Option<u128>) -> Self[src]
pub fn largest() -> Self[src]
pub const SMALLEST: Self[src]
pub fn smallest_normalized() -> Self[src]
pub fn add_r(self, rhs: Self, round: Round) -> StatusAnd<Self>[src]
pub fn mul_r(self, rhs: Self, round: Round) -> StatusAnd<Self>[src]
pub fn mul_add_r(
self,
multiplicand: Self,
addend: Self,
round: Round
) -> StatusAnd<Self>[src]
self,
multiplicand: Self,
addend: Self,
round: Round
) -> StatusAnd<Self>
pub fn div_r(self, rhs: Self, round: Round) -> StatusAnd<Self>[src]
pub fn c_fmod(self, rhs: Self) -> StatusAnd<Self>[src]
pub fn round_to_integral(self, round: Round) -> StatusAnd<Self>[src]
pub fn next_up(self) -> StatusAnd<Self>[src]
pub fn from_bits(input: u128) -> Self[src]
pub fn from_u128_r(input: u128, round: Round) -> StatusAnd<Self>[src]
pub fn from_str_r(s: &str, round: Round) -> Result<StatusAnd<Self>, ParseError>[src]
pub fn to_bits(self) -> u128[src]
pub fn to_u128_r(
self,
width: usize,
round: Round,
is_exact: &mut bool
) -> StatusAnd<u128>[src]
self,
width: usize,
round: Round,
is_exact: &mut bool
) -> StatusAnd<u128>
pub fn cmp_abs_normal(self, rhs: Self) -> Ordering[src]
pub fn bitwise_eq(self, rhs: Self) -> bool[src]
pub fn is_negative(self) -> bool[src]
pub fn is_denormal(self) -> bool[src]
pub fn is_signaling(self) -> bool[src]
pub fn category(self) -> Category[src]
pub fn get_exact_inverse(self) -> Option<Self>[src]
pub fn ilogb(self) -> ExpInt[src]
pub fn scalbn_r(self, exp: ExpInt, round: Round) -> Self[src]
pub fn frexp_r(self, exp: &mut ExpInt, round: Round) -> Self[src]
pub fn sub_r(self, rhs: Self, round: Round) -> StatusAnd<Self>[src]
pub fn mul_add(self, multiplicand: Self, addend: Self) -> StatusAnd<Self>[src]
pub fn ieee_rem(self, rhs: Self) -> StatusAnd<Self>[src]
pub fn next_down(self) -> StatusAnd<Self>[src]
pub fn abs(self) -> Self[src]
pub fn copy_sign(self, rhs: Self) -> Self[src]
pub fn from_i128_r(input: i128, round: Round) -> StatusAnd<Self>[src]
pub fn from_i128(input: i128) -> StatusAnd<Self>[src]
pub fn from_u128(input: u128) -> StatusAnd<Self>[src]
pub fn to_i128_r(
self,
width: usize,
round: Round,
is_exact: &mut bool
) -> StatusAnd<i128>[src]
self,
width: usize,
round: Round,
is_exact: &mut bool
) -> StatusAnd<i128>
pub fn to_i128(self, width: usize) -> StatusAnd<i128>[src]
pub fn to_u128(self, width: usize) -> StatusAnd<u128>[src]
pub fn min(self, other: Self) -> Self[src]
pub fn max(self, other: Self) -> Self[src]
pub fn is_normal(self) -> bool[src]
pub fn is_finite(self) -> bool[src]
pub fn is_zero(self) -> bool[src]
pub fn is_infinite(self) -> bool[src]
pub fn is_nan(self) -> bool[src]
pub fn is_non_zero(self) -> bool[src]
pub fn is_finite_non_zero(self) -> bool[src]
pub fn is_pos_zero(self) -> bool[src]
pub fn is_neg_zero(self) -> bool[src]
pub fn is_smallest(self) -> bool[src]
pub fn is_largest(self) -> bool[src]
pub fn is_integer(self) -> bool[src]
pub fn scalbn(self, exp: ExpInt) -> Self[src]
pub fn frexp(self, exp: &mut ExpInt) -> Self[src]
impl<F: FloatConvert<Self>> From<DoubleFloat<F>> for IeeeFloat<FallbackS<F>>[src]
pub fn from(DoubleFloat: DoubleFloat<F>) -> Self[src]
impl<F: Float> From<IeeeFloat<FallbackS<F>>> for DoubleFloat<F> where
F: FloatConvert<IeeeFloat<FallbackExtendedS<F>>>,
IeeeFloat<FallbackExtendedS<F>>: FloatConvert<F>, [src]
F: FloatConvert<IeeeFloat<FallbackExtendedS<F>>>,
IeeeFloat<FallbackExtendedS<F>>: FloatConvert<F>,
impl<F> FromStr for DoubleFloat<F> where
Self: Float, [src]
Self: Float,
type Err = ParseError
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<Self, ParseError>[src]
impl<F> Mul<DoubleFloat<F>> for DoubleFloat<F> where
Self: Float, [src]
Self: Float,
type Output = StatusAnd<Self>
The resulting type after applying the * operator.
pub fn mul(self, rhs: Self) -> StatusAnd<Self>[src]
impl<F> MulAssign<DoubleFloat<F>> for DoubleFloat<F> where
Self: Float, [src]
Self: Float,
pub fn mul_assign(&mut self, rhs: Self)[src]
impl<F: Float> Neg for DoubleFloat<F>[src]
impl<F: PartialEq> PartialEq<DoubleFloat<F>> for DoubleFloat<F>[src]
pub fn eq(&self, other: &DoubleFloat<F>) -> bool[src]
pub fn ne(&self, other: &DoubleFloat<F>) -> bool[src]
impl<F: PartialOrd> PartialOrd<DoubleFloat<F>> for DoubleFloat<F>[src]
pub fn partial_cmp(&self, other: &DoubleFloat<F>) -> Option<Ordering>[src]
pub fn lt(&self, other: &DoubleFloat<F>) -> bool[src]
pub fn le(&self, other: &DoubleFloat<F>) -> bool[src]
pub fn gt(&self, other: &DoubleFloat<F>) -> bool[src]
pub fn ge(&self, other: &DoubleFloat<F>) -> bool[src]
impl<F> Rem<DoubleFloat<F>> for DoubleFloat<F> where
Self: Float, [src]
Self: Float,
type Output = StatusAnd<Self>
The resulting type after applying the % operator.
pub fn rem(self, rhs: Self) -> StatusAnd<Self>[src]
impl<F> RemAssign<DoubleFloat<F>> for DoubleFloat<F> where
Self: Float, [src]
Self: Float,
pub fn rem_assign(&mut self, rhs: Self)[src]
impl<F> StructuralPartialEq for DoubleFloat<F>[src]
impl<F> Sub<DoubleFloat<F>> for DoubleFloat<F> where
Self: Float, [src]
Self: Float,
type Output = StatusAnd<Self>
The resulting type after applying the - operator.
pub fn sub(self, rhs: Self) -> StatusAnd<Self>[src]
impl<F> SubAssign<DoubleFloat<F>> for DoubleFloat<F> where
Self: Float, [src]
Self: Float,
pub fn sub_assign(&mut self, rhs: Self)[src]
Auto Trait Implementations
impl<F> Send for DoubleFloat<F> where
F: Send,
F: Send,
impl<F> Sync for DoubleFloat<F> where
F: Sync,
F: Sync,
impl<F> Unpin for DoubleFloat<F> where
F: Unpin,
F: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
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.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,