Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub const EULER_GAMMA: f64
The Euler-Mascheroni constant (γ)
constant core Stable since 1.94.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const E: f64
Euler's number (e)
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod consts
Basic mathematical constants.
module core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn classify(self) -> FpCategory
Returns the floating point category of the number. If only one property is going to be tested, it is generally faster to use the specific predicate instead.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn clamp(self, min: f64, max: f64) -> f64
Restrict a value to a certain interval unless it is NaN.
method core Stable since 1.50.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn algebraic_sub(self, rhs: f64) -> f64
Float subtraction that allows optimizations based on algebraic rules.
method core Stable since 1.98.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn algebraic_rem(self, rhs: f64) -> f64
Float remainder that allows optimizations based on algebraic rules.
method core Stable since 1.98.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn algebraic_mul(self, rhs: f64) -> f64
Float multiplication that allows optimizations based on algebraic rules.
method core Stable since 1.98.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn algebraic_div(self, rhs: f64) -> f64
Float division that allows optimizations based on algebraic rules.
method core Stable since 1.98.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn algebraic_add(self, rhs: f64) -> f64
Float addition that allows optimizations based on algebraic rules.
method core Stable since 1.98.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn abs(self) -> f64
Computes the absolute value of self.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
core::f64::RADIX Deprecated
pub const RADIX: u32
The radix or base of the internal representation of f64. Use f64::RADIX instead.
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
const RADIX: u32
The radix or base of the internal representation of f64.
associated_constant core Stable since 1.43.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const NEG_INFINITY: f64
Negative infinity (−∞). Use f64::NEG_INFINITY instead.
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
const NEG_INFINITY: f64
Negative infinity (−∞).
associated_constant core Stable since 1.43.0 Version 1.100.0-nightly
doc.rust-lang.org
core::f64::NAN Deprecated
pub const NAN: f64
Not a Number (NaN). Use f64::NAN instead.
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
const NAN: f64
Not a Number (NaN).
associated_constant core Stable since 1.43.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const MIN_POSITIVE: f64
Smallest positive normal f64 value. Use f64::MIN_POSITIVE instead.
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
const MIN_POSITIVE: f64
Smallest positive normal f64 value.
associated_constant core Stable since 1.43.0 Version 1.100.0-nightly
doc.rust-lang.org
core::f64::MIN_EXP Deprecated
pub const MIN_EXP: i32
One greater than the minimum possible normal power of 2 exponent. Use f64::MIN_EXP instead.
constant core Stable since 1.0.0 Version 1.100.0-nightly
"As an expert at being ignorant of what `Pin` does, I can assert with expertise that other ignorant readers have a hard time with `Pin`."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.