Skip to content

Commit 2ec7021

Browse files
committed
fix MAX_EXP docs
1 parent fae7785 commit 2ec7021

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

library/core/src/num/f128.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ impl f128 {
200200
/// ≥&nbsp;0.5&nbsp;×&nbsp;2<sup><i>x</i></sup>.
201201
#[unstable(feature = "f128", issue = "116909")]
202202
pub const MIN_EXP: i32 = -16_381;
203-
/// Maximum possible power of 2 exponent.
203+
/// One greater than the maximum possible power of 2 exponent.
204204
///
205205
/// If <i>x</i>&nbsp;=&nbsp;`MAX_EXP`, then normal numbers
206206
/// &lt;&nbsp;1&nbsp;×&nbsp;2<sup><i>x</i></sup>.

library/core/src/num/f16.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ impl f16 {
195195
/// ≥&nbsp;0.5&nbsp;×&nbsp;2<sup><i>x</i></sup>.
196196
#[unstable(feature = "f16", issue = "116909")]
197197
pub const MIN_EXP: i32 = -13;
198-
/// Maximum possible power of 2 exponent.
198+
/// One greater than the maximum possible power of 2 exponent.
199199
///
200200
/// If <i>x</i>&nbsp;=&nbsp;`MAX_EXP`, then normal numbers
201201
/// &lt;&nbsp;1&nbsp;×&nbsp;2<sup><i>x</i></sup>.

library/core/src/num/f32.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ impl f32 {
446446
/// ≥&nbsp;0.5&nbsp;×&nbsp;2<sup><i>x</i></sup>.
447447
#[stable(feature = "assoc_int_consts", since = "1.43.0")]
448448
pub const MIN_EXP: i32 = -125;
449-
/// Maximum possible power of 2 exponent.
449+
/// One greater than the maximum possible power of 2 exponent.
450450
///
451451
/// If <i>x</i>&nbsp;=&nbsp;`MAX_EXP`, then normal numbers
452452
/// &lt;&nbsp;1&nbsp;×&nbsp;2<sup><i>x</i></sup>.

library/core/src/num/f64.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ impl f64 {
445445
/// ≥&nbsp;0.5&nbsp;×&nbsp;2<sup><i>x</i></sup>.
446446
#[stable(feature = "assoc_int_consts", since = "1.43.0")]
447447
pub const MIN_EXP: i32 = -1021;
448-
/// Maximum possible power of 2 exponent.
448+
/// One greater than the maximum possible power of 2 exponent.
449449
///
450450
/// If <i>x</i>&nbsp;=&nbsp;`MAX_EXP`, then normal numbers
451451
/// &lt;&nbsp;1&nbsp;×&nbsp;2<sup><i>x</i></sup>.

0 commit comments

Comments
 (0)