doc.rust-lang.org
pub fn exp_m1(self) -> f32
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) -> f32
Returns 2^(self).
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn exp(self) -> f32
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: f32) -> f32
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) -> f32
Hyperbolic cosine function.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn cos(self) -> f32
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) -> f32
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) -> f32
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) -> f32
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: f32) -> f32
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) -> f32
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) -> f32
Inverse hyperbolic sine function.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn asin(self) -> f32
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) -> f32
Inverse hyperbolic cosine function.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn acos(self) -> f32
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: f32) -> f32
The positive difference of two numbers.
method
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
primitive f32
A 32-bit floating-point type (specifically, the "binary32" type defined in IEEE 754-2008).
primitive
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod f32
Constants for the f32 single-precision floating point type.
module
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod error
Interfaces for working with Errors.
module
std
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub macro eprintln!
Prints to the standard error, with a newline.
macro
std
Stable since 1.19.0
Version 1.100.0-nightly