File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,9 @@ impl f128 {
145145 pub const RADIX : u32 = 2 ;
146146
147147 /// Number of significant digits in base 2.
148+ ///
149+ /// Note that the size of the mantissa in the bitwise representation is one
150+ /// smaller than this since the leading 1 is not stored explicitly.
148151 #[ unstable( feature = "f128" , issue = "116909" ) ]
149152 pub const MANTISSA_DIGITS : u32 = 113 ;
150153
Original file line number Diff line number Diff line change @@ -140,6 +140,9 @@ impl f16 {
140140 pub const RADIX : u32 = 2 ;
141141
142142 /// Number of significant digits in base 2.
143+ ///
144+ /// Note that the size of the mantissa in the bitwise representation is one
145+ /// smaller than this since the leading 1 is not stored explicitly.
143146 #[ unstable( feature = "f16" , issue = "116909" ) ]
144147 pub const MANTISSA_DIGITS : u32 = 11 ;
145148
Original file line number Diff line number Diff line change @@ -390,6 +390,9 @@ impl f32 {
390390 pub const RADIX : u32 = 2 ;
391391
392392 /// Number of significant digits in base 2.
393+ ///
394+ /// Note that the size of the mantissa in the bitwise representation is one
395+ /// smaller than this since the leading 1 is not stored explicitly.
393396 #[ stable( feature = "assoc_int_consts" , since = "1.43.0" ) ]
394397 pub const MANTISSA_DIGITS : u32 = 24 ;
395398
Original file line number Diff line number Diff line change @@ -390,6 +390,9 @@ impl f64 {
390390 pub const RADIX : u32 = 2 ;
391391
392392 /// Number of significant digits in base 2.
393+ ///
394+ /// Note that the size of the mantissa in the bitwise representation is one
395+ /// smaller than this since the leading 1 is not stored explicitly.
393396 #[ stable( feature = "assoc_int_consts" , since = "1.43.0" ) ]
394397 pub const MANTISSA_DIGITS : u32 = 53 ;
395398 /// Approximate number of significant digits in base 10.
You can’t perform that action at this time.
0 commit comments