doc.rust-lang.org
pub const fn floor(self) -> f64
Returns the largest integer that is less than or equal to self.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn exp_m1(self) -> f64
Returns e^(self) - 1 in a way that is accurate even if the number is close to zero.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn exp2(self) -> f64
Returns 2^(self).
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn exp(self) -> f64
Returns e^(self), (the exponential function).
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn div_euclid(self, rhs: f64) -> f64
Calculates Euclidean division, the matching method for rem_euclid.
method
std
Stable since 1.38.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn cosh(self) -> f64
Hyperbolic cosine function.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn cos(self) -> f64
Computes the cosine of a number (in radians).
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn ceil(self) -> f64
Returns the smallest integer that is greater than or equal to self.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn cbrt(self) -> f64
Returns the cube root of a number.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn atanh(self) -> f64
Inverse hyperbolic tangent function.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn atan2(self, other: f64) -> f64
Computes the four quadrant arctangent of self (y) and other (x) in radians.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn atan(self) -> f64
Computes the arctangent of a number. Return value is in radians in the range -pi/2, pi/2;
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn asinh(self) -> f64
Inverse hyperbolic sine function.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn asin(self) -> f64
Computes the arcsine of a number. Return value is in radians in the range -pi/2, pi/2 or NaN if the number is outside the range -1, 1.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn acosh(self) -> f64
Inverse hyperbolic cosine function.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn acos(self) -> f64
Computes the arccosine of a number. Return value is in radians in the range 0, pi or NaN if the number is outside the range -1, 1.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn abs_sub(self, other: f64) -> f64
The positive difference of two numbers.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
primitive f64
A 64-bit floating-point type (specifically, the "binary64" type defined in IEEE 754-2008).
primitive
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod f64
Constants for the f64 double-precision floating point type.
module
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn trunc(self) -> f32
Returns the integer part of self. This means that non-integer numbers are always truncated towards zero.
method
std
Stable since 1.0.0
Version 1.100.0-nightly