#[repr(transparent)]pub struct Float64(pub f64);
Tuple Fields§
§0: f64
Trait Implementations§
Source§impl Bounded for Float64
impl Bounded for Float64
fn maximum() -> Self
fn minimum() -> Self
fn is_maximum(&self) -> bool
fn is_minimum(&self) -> bool
fn set_maximum(&mut self)
fn set_minimum(&mut self)
Source§impl Float for Float64
impl Float for Float64
const RADIX: u32 = 2u32
const MANTISSA_DIGITS: u32 = 53u32
const DIGITS: u32 = 15u32
const EPSILON: Self
const MIN: Self
const MIN_POSITIVE: Self
const MAX: Self
const MIN_EXP: i32 = -1_021i32
const MAX_EXP: i32 = 1_024i32
const MIN_10_EXP: i32 = -307i32
const MAX_10_EXP: i32 = 308i32
const NAN: Self
const INFINITY: Self
const NEG_INFINITY: Self
const PI: Self
const TAU: Self
const FRAC_PI_2: Self
const FRAC_PI_3: Self
const FRAC_PI_4: Self
const FRAC_PI_6: Self
const FRAC_PI_8: Self
const FRAC_1_PI: Self
const FRAC_2_PI: Self
const FRAC_2_SQRT_PI: Self
const SQRT_2: Self
const FRAC_1_SQRT_2: Self
const E: Self
const LOG2_E: Self
const LOG10_E: Self
const LN_2: Self
const LN_10: Self
fn floor(self) -> Self
fn ceil(self) -> Self
fn round(self) -> Self
fn trunc(self) -> Self
fn fract(self) -> Self
fn abs(self) -> Self
fn signum(self) -> Self
fn copysign(self, sign: Self) -> Self
fn mul_add(self, a: Self, b: Self) -> Self
fn div_euclid(self, rhs: Self) -> Self
fn rem_euclid(self, rhs: Self) -> Self
fn powi(self, n: i32) -> Self
fn powf(self, n: Self) -> Self
fn sqrt(self) -> Self
fn exp(self) -> Self
fn exp2(self) -> Self
fn ln(self) -> Self
fn log(self, base: Self) -> Self
fn log2(self) -> Self
fn log10(self) -> Self
fn cbrt(self) -> Self
fn hypot(self, other: Self) -> Self
fn sin(self) -> Self
fn cos(self) -> Self
fn tan(self) -> Self
fn asin(self) -> Self
fn acos(self) -> Self
fn atan(self) -> Self
fn atan2(self, other: Self) -> Self
fn sin_cos(self) -> (Self, Self)
fn exp_m1(self) -> Self
fn ln_1p(self) -> Self
fn sinh(self) -> Self
fn cosh(self) -> Self
fn tanh(self) -> Self
fn asinh(self) -> Self
fn acosh(self) -> Self
fn atanh(self) -> Self
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 is_sign_positive(self) -> bool
fn is_sign_negative(self) -> bool
fn recip(self) -> Self
fn to_degrees(self) -> Self
fn to_radians(self) -> Self
fn max(self, other: Self) -> Self
fn min(self, other: Self) -> Self
fn to_bits(self) -> u64
fn from_bits(v: u64) -> Self
fn total_cmp(&self, other: &Self) -> Ordering
fn clamp(self, min: Self, max: Self) -> Self
Source§impl Ord for Float64
impl Ord for Float64
Source§impl PartialOrd for Float64
impl PartialOrd for Float64
impl Copy for Float64
impl Eq for Float64
impl StructuralPartialEq for Float64
Auto Trait Implementations§
impl Freeze for Float64
impl RefUnwindSafe for Float64
impl Send for Float64
impl Sync for Float64
impl Unpin for Float64
impl UnwindSafe for Float64
Blanket Implementations§
Source§impl<T> AsTotalOrd for Twhere
T: PartialOrd,
impl<T> AsTotalOrd for Twhere
T: PartialOrd,
fn as_total_ord(&self) -> TotalOrd<&T>
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more