Struct numeric_float::n64f [] [src]

pub struct n64f(_);

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

Operations which would normally produce Not-a-Number instead result in f64.

Methods

impl n64f

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

unsafe fn from_float_unchecked(v: f64) -> n64f

fn into_float(self) -> f64

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

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

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

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

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

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

impl n64f

fn is_infinite(self) -> bool

impl n64f

fn is_finite(self) -> bool

impl n64f

fn is_normal(self) -> bool

impl n64f

fn classify(self) -> FpCategory

impl n64f

fn floor(self) -> n64f

impl n64f

fn ceil(self) -> n64f

impl n64f

fn round(self) -> n64f

impl n64f

fn trunc(self) -> n64f

impl n64f

fn fract(self) -> f64

impl n64f

fn abs(self) -> n64f

impl n64f

fn signum(self) -> n64f

impl n64f

fn is_sign_positive(self) -> bool

impl n64f

fn is_sign_negative(self) -> bool

impl n64f

fn recip(self) -> n64f

impl n64f

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

impl n64f

fn sqrt(self) -> f64

impl n64f

fn exp(self) -> n64f

impl n64f

fn exp2(self) -> n64f

impl n64f

fn ln(self) -> f64

impl n64f

fn log2(self) -> f64

impl n64f

fn log10(self) -> f64

impl n64f

fn cbrt(self) -> n64f

impl n64f

fn sin(self) -> f64

impl n64f

fn cos(self) -> f64

impl n64f

fn tan(self) -> f64

impl n64f

fn asin(self) -> f64

impl n64f

fn acos(self) -> f64

impl n64f

fn atan(self) -> f64

impl n64f

fn exp_m1(self) -> n64f

impl n64f

fn ln_1p(self) -> f64

impl n64f

fn sinh(self) -> f64

impl n64f

fn cosh(self) -> f64

impl n64f

fn tanh(self) -> f64

impl n64f

fn asinh(self) -> n64f

impl n64f

fn acosh(self) -> f64

impl n64f

fn atanh(self) -> f64

impl n64f

fn mul_add(self, a: n64f, b: n64f) -> f64

fn log(self, base: n64f) -> f64

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

Trait Implementations

impl Add<n64f> for n64f

type Output = f64

fn add(self, rhs: n64f) -> f64

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

type Output = f64

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

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

type Output = f64

fn add(self, rhs: n64f) -> f64

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

type Output = f64

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

impl Sub<n64f> for n64f

type Output = f64

fn sub(self, rhs: n64f) -> f64

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

type Output = f64

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

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

type Output = f64

fn sub(self, rhs: n64f) -> f64

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

type Output = f64

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

impl Mul<n64f> for n64f

type Output = f64

fn mul(self, rhs: n64f) -> f64

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

type Output = f64

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

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

type Output = f64

fn mul(self, rhs: n64f) -> f64

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

type Output = f64

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

impl Div<n64f> for n64f

type Output = f64

fn div(self, rhs: n64f) -> f64

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

type Output = f64

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

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

type Output = f64

fn div(self, rhs: n64f) -> f64

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

type Output = f64

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

impl Rem<n64f> for n64f

type Output = f64

fn rem(self, rhs: n64f) -> f64

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

type Output = f64

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

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

type Output = f64

fn rem(self, rhs: n64f) -> f64

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

type Output = f64

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

impl Neg for n64f

type Output = n64f

fn neg(self) -> n64f

impl<'a> Neg for &'a n64f

type Output = n64f

fn neg(self) -> n64f

impl Debug for n64f

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

impl Display for n64f

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

impl LowerExp for n64f

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

impl UpperExp for n64f

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

impl Numeric for n64f

type Float = f64

impl Eq for n64f

impl Into<f64> for n64f

fn into(self) -> f64

impl Ord for n64f

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

impl FromStr for n64f

type Err = ParseNumericError

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

impl Hash for n64f

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 n64f

type Err = Unrepresentable<f64>

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

impl TryInto<f64> for n64f

type Err = NoError

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

impl ValueFrom<f64> for n64f

type Err = Unrepresentable<f64>

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

impl ValueInto<f64> for n64f

type Err = NoError

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

impl Bounded for n64f

fn min_value() -> n64f

fn max_value() -> n64f

impl FromPrimitive for n64f

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

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

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

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

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

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

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

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

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

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

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

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

impl NumCast for n64f

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

impl ToPrimitive for n64f

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 Decodable for n64f

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

impl Encodable for n64f

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

impl Deserialize for n64f

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

impl Serialize for n64f

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

impl From<n64p> for n64f

fn from(v: n64p) -> Self

Derived Implementations

impl PartialOrd for n64f

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

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

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

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

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

impl PartialEq for n64f

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

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

impl Default for n64f

fn default() -> n64f

impl Clone for n64f

fn clone(&self) -> n64f

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

impl Copy for n64f