11//! Constants specific to the `f64` double-precision floating point type.
22//!
3- //! *[See also the `f64` primitive type](../../std/primitive. f64.html) .*
3+ //! *[See also the `f64` primitive type][ f64] .*
44//!
55//! Mathematically significant numbers are provided in the `consts` sub-module.
66//!
@@ -18,7 +18,7 @@ use crate::mem;
1818use crate :: num:: FpCategory ;
1919
2020/// The radix or base of the internal representation of `f64`.
21- /// Use [`f64::RADIX`](../../std/primitive.f64.html#associatedconstant.RADIX) instead.
21+ /// Use [`f64::RADIX`] instead.
2222///
2323/// # Examples
2424///
@@ -35,7 +35,7 @@ use crate::num::FpCategory;
3535pub const RADIX : u32 = f64:: RADIX ;
3636
3737/// Number of significant digits in base 2.
38- /// Use [`f64::MANTISSA_DIGITS`](../../std/primitive.f64.html#associatedconstant.MANTISSA_DIGITS) instead.
38+ /// Use [`f64::MANTISSA_DIGITS`] instead.
3939///
4040/// # Examples
4141///
@@ -55,7 +55,7 @@ pub const RADIX: u32 = f64::RADIX;
5555pub const MANTISSA_DIGITS : u32 = f64:: MANTISSA_DIGITS ;
5656
5757/// Approximate number of significant digits in base 10.
58- /// Use [`f64::DIGITS`](../../std/primitive.f64.html#associatedconstant.DIGITS) instead.
58+ /// Use [`f64::DIGITS`] instead.
5959///
6060/// # Examples
6161///
@@ -72,7 +72,7 @@ pub const MANTISSA_DIGITS: u32 = f64::MANTISSA_DIGITS;
7272pub const DIGITS : u32 = f64:: DIGITS ;
7373
7474/// [Machine epsilon] value for `f64`.
75- /// Use [`f64::EPSILON`](../../std/primitive.f64.html#associatedconstant.EPSILON) instead.
75+ /// Use [`f64::EPSILON`] instead.
7676///
7777/// This is the difference between `1.0` and the next larger representable number.
7878///
@@ -96,7 +96,7 @@ pub const DIGITS: u32 = f64::DIGITS;
9696pub const EPSILON : f64 = f64:: EPSILON ;
9797
9898/// Smallest finite `f64` value.
99- /// Use [`f64::MIN`](../../std/primitive.f64.html#associatedconstant.MIN) instead.
99+ /// Use [`f64::MIN`] instead.
100100///
101101/// # Examples
102102///
@@ -113,7 +113,7 @@ pub const EPSILON: f64 = f64::EPSILON;
113113pub const MIN : f64 = f64:: MIN ;
114114
115115/// Smallest positive normal `f64` value.
116- /// Use [`f64::MIN_POSITIVE`](../../std/primitive.f64.html#associatedconstant.MIN_POSITIVE) instead.
116+ /// Use [`f64::MIN_POSITIVE`] instead.
117117///
118118/// # Examples
119119///
@@ -133,7 +133,7 @@ pub const MIN: f64 = f64::MIN;
133133pub const MIN_POSITIVE : f64 = f64:: MIN_POSITIVE ;
134134
135135/// Largest finite `f64` value.
136- /// Use [`f64::MAX`](../../std/primitive.f64.html#associatedconstant.MAX) instead.
136+ /// Use [`f64::MAX`] instead.
137137///
138138/// # Examples
139139///
@@ -150,7 +150,7 @@ pub const MIN_POSITIVE: f64 = f64::MIN_POSITIVE;
150150pub const MAX : f64 = f64:: MAX ;
151151
152152/// One greater than the minimum possible normal power of 2 exponent.
153- /// Use [`f64::MIN_EXP`](../../std/primitive.f64.html#associatedconstant.MIN_EXP) instead.
153+ /// Use [`f64::MIN_EXP`] instead.
154154///
155155/// # Examples
156156///
@@ -170,7 +170,7 @@ pub const MAX: f64 = f64::MAX;
170170pub const MIN_EXP : i32 = f64:: MIN_EXP ;
171171
172172/// Maximum possible power of 2 exponent.
173- /// Use [`f64::MAX_EXP`](../../std/primitive.f64.html#associatedconstant.MAX_EXP) instead.
173+ /// Use [`f64::MAX_EXP`] instead.
174174///
175175/// # Examples
176176///
@@ -190,7 +190,7 @@ pub const MIN_EXP: i32 = f64::MIN_EXP;
190190pub const MAX_EXP : i32 = f64:: MAX_EXP ;
191191
192192/// Minimum possible normal power of 10 exponent.
193- /// Use [`f64::MIN_10_EXP`](../../std/primitive.f64.html#associatedconstant.MIN_10_EXP) instead.
193+ /// Use [`f64::MIN_10_EXP`] instead.
194194///
195195/// # Examples
196196///
@@ -210,7 +210,7 @@ pub const MAX_EXP: i32 = f64::MAX_EXP;
210210pub const MIN_10_EXP : i32 = f64:: MIN_10_EXP ;
211211
212212/// Maximum possible power of 10 exponent.
213- /// Use [`f64::MAX_10_EXP`](../../std/primitive.f64.html#associatedconstant.MAX_10_EXP) instead.
213+ /// Use [`f64::MAX_10_EXP`] instead.
214214///
215215/// # Examples
216216///
@@ -230,7 +230,7 @@ pub const MIN_10_EXP: i32 = f64::MIN_10_EXP;
230230pub const MAX_10_EXP : i32 = f64:: MAX_10_EXP ;
231231
232232/// Not a Number (NaN).
233- /// Use [`f64::NAN`](../../std/primitive.f64.html#associatedconstant.NAN) instead.
233+ /// Use [`f64::NAN`] instead.
234234///
235235/// # Examples
236236///
@@ -247,7 +247,7 @@ pub const MAX_10_EXP: i32 = f64::MAX_10_EXP;
247247pub const NAN : f64 = f64:: NAN ;
248248
249249/// Infinity (∞).
250- /// Use [`f64::INFINITY`](../../std/primitive.f64.html#associatedconstant.INFINITY) instead.
250+ /// Use [`f64::INFINITY`] instead.
251251///
252252/// # Examples
253253///
@@ -267,7 +267,7 @@ pub const NAN: f64 = f64::NAN;
267267pub const INFINITY : f64 = f64:: INFINITY ;
268268
269269/// Negative infinity (−∞).
270- /// Use [`f64::NEG_INFINITY`](../../std/primitive.f64.html#associatedconstant.NEG_INFINITY) instead.
270+ /// Use [`f64::NEG_INFINITY`] instead.
271271///
272272/// # Examples
273273///
0 commit comments