@@ -439,16 +439,22 @@ impl f64 {
439
439
#[ stable( feature = "assoc_int_consts" , since = "1.43.0" ) ]
440
440
pub const MAX : f64 = 1.7976931348623157e+308_f64 ;
441
441
442
- /// One greater than the minimum possible normal power of 2 exponent.
442
+ /// One greater than the minimum possible *normal* power of 2 exponent
443
+ /// for a significand bounded by 1 ≤ x < 2 (i.e. the IEEE definition).
444
+ /// This corresponds to the exact minimum possible *normal* power of 2 exponent
445
+ /// for a significand bounded by 0.5 ≤ x < 1 (i.e. the C definition).
443
446
///
444
- /// If <i>x</i> = `MIN_EXP`, then normal numbers
445
- /// ≥ 0.5 × 2<sup><i>x </i></sup>.
447
+ /// In other words, all normal numbers representable by this type are
448
+ /// greater than or equal to 0.5 × 2<sup><i>MIN_EXP </i></sup>.
446
449
#[ stable( feature = "assoc_int_consts" , since = "1.43.0" ) ]
447
450
pub const MIN_EXP : i32 = -1021 ;
448
- /// Maximum possible power of 2 exponent.
451
+ /// One greater than the maximum possible power of 2 exponent
452
+ /// for a significand bounded by 1 ≤ x < 2 (i.e. the IEEE definition).
453
+ /// This corresponds to the exact maximum possible power of 2 exponent
454
+ /// for a significand bounded by 0.5 ≤ x < 1 (i.e. the C definition).
449
455
///
450
- /// If <i>x</i> = `MAX_EXP`, then normal numbers
451
- /// < 1 × 2<sup><i>x </i></sup>.
456
+ /// In other words, all numbers representable by this type are
457
+ /// strictly less than 2<sup><i>MAX_EXP </i></sup>.
452
458
#[ stable( feature = "assoc_int_consts" , since = "1.43.0" ) ]
453
459
pub const MAX_EXP : i32 = 1024 ;
454
460
0 commit comments