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