Struct numeric_float::n64p [] [src]

pub struct n64p(_);

A 64-bit floating point type which excludes Not-a-Number.

Operations which would normally produce Not-a-Number instead panic.

Methods

impl n64p

fn from_float(v: f64) -> Option<n64p>

unsafe fn from_float_unchecked(v: f64) -> n64p

fn into_float(self) -> f64

fn powf(self, n: n64p) -> n64p

fn max(self, other: n64p) -> n64p

fn min(self, other: n64p) -> n64p

fn abs_sub(self, other: n64p) -> n64p

fn hypot(self, other: n64p) -> n64p

fn atan2(self, other: n64p) -> n64p

impl n64p

fn is_infinite(self) -> bool

impl n64p

fn is_finite(self) -> bool

impl n64p

fn is_normal(self) -> bool

impl n64p

fn classify(self) -> FpCategory

impl n64p

fn floor(self) -> n64p

impl n64p

fn ceil(self) -> n64p

impl n64p

fn round(self) -> n64p

impl n64p

fn trunc(self) -> n64p

impl n64p

fn fract(self) -> n64p

fn try_fract(self) -> Option<n64p>

impl n64p

fn abs(self) -> n64p

impl n64p

fn signum(self) -> n64p

impl n64p

fn is_sign_positive(self) -> bool

impl n64p

fn is_sign_negative(self) -> bool

impl n64p

fn recip(self) -> n64p

impl n64p

fn powi(self, n: i32) -> n64p

impl n64p

fn sqrt(self) -> n64p

fn try_sqrt(self) -> Option<n64p>

impl n64p

fn exp(self) -> n64p

impl n64p

fn exp2(self) -> n64p

impl n64p

fn ln(self) -> n64p

fn try_ln(self) -> Option<n64p>

impl n64p

fn log2(self) -> n64p

fn try_log2(self) -> Option<n64p>

impl n64p

fn log10(self) -> n64p

fn try_log10(self) -> Option<n64p>

impl n64p

fn cbrt(self) -> n64p

impl n64p

fn sin(self) -> n64p

fn try_sin(self) -> Option<n64p>

impl n64p

fn cos(self) -> n64p

fn try_cos(self) -> Option<n64p>

impl n64p

fn tan(self) -> n64p

fn try_tan(self) -> Option<n64p>

impl n64p

fn asin(self) -> n64p

fn try_asin(self) -> Option<n64p>

impl n64p

fn acos(self) -> n64p

fn try_acos(self) -> Option<n64p>

impl n64p

fn atan(self) -> n64p

fn try_atan(self) -> Option<n64p>

impl n64p

fn exp_m1(self) -> n64p

impl n64p

fn ln_1p(self) -> n64p

fn try_ln_1p(self) -> Option<n64p>

impl n64p

fn sinh(self) -> n64p

fn try_sinh(self) -> Option<n64p>

impl n64p

fn cosh(self) -> n64p

fn try_cosh(self) -> Option<n64p>

impl n64p

fn tanh(self) -> n64p

fn try_tanh(self) -> Option<n64p>

impl n64p

fn asinh(self) -> n64p

impl n64p

fn acosh(self) -> n64p

fn try_acosh(self) -> Option<n64p>

impl n64p

fn atanh(self) -> n64p

fn try_atanh(self) -> Option<n64p>

impl n64p

fn mul_add(self, a: n64p, b: n64p) -> n64p

fn try_mul_add(self, a: n64p, b: n64p) -> Option<n64p>

fn log(self, base: n64p) -> n64p

fn try_log(self, base: n64p) -> Option<n64p>

fn sin_cos(self) -> (n64p, n64p)

fn try_sin_cos(self) -> Option<(n64p, n64p)>

Trait Implementations

impl Add<n64p> for n64p

type Output = n64p

fn add(self, rhs: n64p) -> n64p

impl<'a> Add<&'a n64p> for &'a n64p

type Output = n64p

fn add(self, rhs: &'a n64p) -> n64p

impl<'a> Add<n64p> for &'a n64p

type Output = n64p

fn add(self, rhs: n64p) -> n64p

impl<'a> Add<&'a n64p> for n64p

type Output = n64p

fn add(self, rhs: &'a n64p) -> n64p

impl Sub<n64p> for n64p

type Output = n64p

fn sub(self, rhs: n64p) -> n64p

impl<'a> Sub<&'a n64p> for &'a n64p

type Output = n64p

fn sub(self, rhs: &'a n64p) -> n64p

impl<'a> Sub<n64p> for &'a n64p

type Output = n64p

fn sub(self, rhs: n64p) -> n64p

impl<'a> Sub<&'a n64p> for n64p

type Output = n64p

fn sub(self, rhs: &'a n64p) -> n64p

impl Mul<n64p> for n64p

type Output = n64p

fn mul(self, rhs: n64p) -> n64p

impl<'a> Mul<&'a n64p> for &'a n64p

type Output = n64p

fn mul(self, rhs: &'a n64p) -> n64p

impl<'a> Mul<n64p> for &'a n64p

type Output = n64p

fn mul(self, rhs: n64p) -> n64p

impl<'a> Mul<&'a n64p> for n64p

type Output = n64p

fn mul(self, rhs: &'a n64p) -> n64p

impl Div<n64p> for n64p

type Output = n64p

fn div(self, rhs: n64p) -> n64p

impl<'a> Div<&'a n64p> for &'a n64p

type Output = n64p

fn div(self, rhs: &'a n64p) -> n64p

impl<'a> Div<n64p> for &'a n64p

type Output = n64p

fn div(self, rhs: n64p) -> n64p

impl<'a> Div<&'a n64p> for n64p

type Output = n64p

fn div(self, rhs: &'a n64p) -> n64p

impl Rem<n64p> for n64p

type Output = n64p

fn rem(self, rhs: n64p) -> n64p

impl<'a> Rem<&'a n64p> for &'a n64p

type Output = n64p

fn rem(self, rhs: &'a n64p) -> n64p

impl<'a> Rem<n64p> for &'a n64p

type Output = n64p

fn rem(self, rhs: n64p) -> n64p

impl<'a> Rem<&'a n64p> for n64p

type Output = n64p

fn rem(self, rhs: &'a n64p) -> n64p

impl Neg for n64p

type Output = n64p

fn neg(self) -> n64p

impl<'a> Neg for &'a n64p

type Output = n64p

fn neg(self) -> n64p

impl Debug for n64p

fn fmt(&self, fmt: &mut Formatter) -> Result

impl Display for n64p

fn fmt(&self, fmt: &mut Formatter) -> Result

impl LowerExp for n64p

fn fmt(&self, fmt: &mut Formatter) -> Result

impl UpperExp for n64p

fn fmt(&self, fmt: &mut Formatter) -> Result

impl Numeric for n64p

type Float = f64

impl Eq for n64p

impl Into<f64> for n64p

fn into(self) -> f64

impl Ord for n64p

fn cmp(&self, other: &n64p) -> Ordering

impl FromStr for n64p

type Err = ParseNumericError

fn from_str(src: &str) -> Result<n64p, Self::Err>

impl Hash for n64p

fn hash<H>(&self, state: &mut H) where H: Hasher

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl TryFrom<f64> for n64p

type Err = Unrepresentable<f64>

fn try_from(v: f64) -> Result<n64p, Self::Err>

impl TryInto<f64> for n64p

type Err = NoError

fn try_into(self) -> Result<f64, Self::Err>

impl ValueFrom<f64> for n64p

type Err = Unrepresentable<f64>

fn value_from(v: f64) -> Result<n64p, Self::Err>

impl ValueInto<f64> for n64p

type Err = NoError

fn value_into(self) -> Result<f64, Self::Err>

impl Bounded for n64p

fn min_value() -> n64p

fn max_value() -> n64p

impl Float for n64p

fn nan() -> n64p

fn infinity() -> n64p

fn neg_infinity() -> n64p

fn neg_zero() -> n64p

fn min_value() -> n64p

fn min_positive_value() -> n64p

fn max_value() -> n64p

fn is_nan(self) -> bool

fn is_infinite(self) -> bool

fn is_finite(self) -> bool

fn is_normal(self) -> bool

fn classify(self) -> FpCategory

fn floor(self) -> n64p

fn ceil(self) -> n64p

fn round(self) -> n64p

fn trunc(self) -> n64p

fn fract(self) -> n64p

fn abs(self) -> n64p

fn signum(self) -> n64p

fn is_sign_positive(self) -> bool

fn is_sign_negative(self) -> bool

fn mul_add(self, a: n64p, b: n64p) -> n64p

fn recip(self) -> n64p

fn powi(self, n: i32) -> n64p

fn powf(self, n: n64p) -> n64p

fn sqrt(self) -> n64p

fn exp(self) -> n64p

fn exp2(self) -> n64p

fn ln(self) -> n64p

fn log(self, base: n64p) -> n64p

fn log2(self) -> n64p

fn log10(self) -> n64p

fn max(self, other: n64p) -> n64p

fn min(self, other: n64p) -> n64p

fn abs_sub(self, other: n64p) -> n64p

fn cbrt(self) -> n64p

fn hypot(self, other: n64p) -> n64p

fn sin(self) -> n64p

fn cos(self) -> n64p

fn tan(self) -> n64p

fn asin(self) -> n64p

fn acos(self) -> n64p

fn atan(self) -> n64p

fn atan2(self, other: n64p) -> n64p

fn sin_cos(self) -> (n64p, n64p)

fn exp_m1(self) -> n64p

fn ln_1p(self) -> n64p

fn sinh(self) -> n64p

fn cosh(self) -> n64p

fn tanh(self) -> n64p

fn asinh(self) -> n64p

fn acosh(self) -> n64p

fn atanh(self) -> n64p

fn integer_decode(self) -> (u64, i16, i8)

impl FromPrimitive for n64p

fn from_i64(n: i64) -> Option<n64p>

fn from_u64(n: u64) -> Option<n64p>

fn from_isize(n: isize) -> Option<n64p>

fn from_i8(n: i8) -> Option<n64p>

fn from_i16(n: i16) -> Option<n64p>

fn from_i32(n: i32) -> Option<n64p>

fn from_usize(n: usize) -> Option<n64p>

fn from_u8(n: u8) -> Option<n64p>

fn from_u16(n: u16) -> Option<n64p>

fn from_u32(n: u32) -> Option<n64p>

fn from_f32(n: f32) -> Option<n64p>

fn from_f64(n: f64) -> Option<n64p>

impl Num for n64p

type FromStrRadixErr = ParseFloatError

fn from_str_radix(s: &str, radix: u32) -> Result<n64p, Self::FromStrRadixErr>

impl NumCast for n64p

fn from<T: ToPrimitive>(n: T) -> Option<n64p>

impl One for n64p

fn one() -> n64p

impl Signed for n64p

fn abs(&self) -> n64p

fn abs_sub(&self, other: &n64p) -> n64p

fn signum(&self) -> n64p

fn is_positive(&self) -> bool

fn is_negative(&self) -> bool

impl ToPrimitive for n64p

fn to_i64(&self) -> Option<i64>

fn to_u64(&self) -> Option<u64>

fn to_isize(&self) -> Option<isize>

fn to_i8(&self) -> Option<i8>

fn to_i16(&self) -> Option<i16>

fn to_i32(&self) -> Option<i32>

fn to_usize(&self) -> Option<usize>

fn to_u8(&self) -> Option<u8>

fn to_u16(&self) -> Option<u16>

fn to_u32(&self) -> Option<u32>

fn to_f32(&self) -> Option<f32>

fn to_f64(&self) -> Option<f64>

impl Zero for n64p

fn zero() -> n64p

fn is_zero(&self) -> bool

impl Decodable for n64p

fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error>

impl Encodable for n64p

fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error>

impl Deserialize for n64p

fn deserialize<D: Deserializer>(d: &mut D) -> Result<Self, D::Error>

impl Serialize for n64p

fn serialize<S: Serializer>(&self, s: &mut S) -> Result<(), S::Error>

impl From<n64f> for n64p

fn from(v: n64f) -> Self

Derived Implementations

impl PartialOrd for n64p

fn partial_cmp(&self, __arg_0: &n64p) -> Option<Ordering>

fn lt(&self, __arg_0: &n64p) -> bool

fn le(&self, __arg_0: &n64p) -> bool

fn gt(&self, __arg_0: &n64p) -> bool

fn ge(&self, __arg_0: &n64p) -> bool

impl PartialEq for n64p

fn eq(&self, __arg_0: &n64p) -> bool

fn ne(&self, __arg_0: &n64p) -> bool

impl Default for n64p

fn default() -> n64p

impl Clone for n64p

fn clone(&self) -> n64p

fn clone_from(&mut self, source: &Self)

impl Copy for n64p