File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,11 @@ pub const MANTISSA_DIGITS: u32 = 24;
33
33
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
34
34
pub const DIGITS : u32 = 6 ;
35
35
36
- /// Difference between `1.0` and the next largest representable number.
36
+ /// [Machine epsilon] value for `f32`.
37
+ ///
38
+ /// This is the difference between `1.0` and the next largest representable number.
39
+ ///
40
+ /// [Machine epsilon]: https://en.wikipedia.org/wiki/Machine_epsilon
37
41
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
38
42
pub const EPSILON : f32 = 1.19209290e-07_f32 ;
39
43
Original file line number Diff line number Diff line change @@ -33,7 +33,11 @@ pub const MANTISSA_DIGITS: u32 = 53;
33
33
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
34
34
pub const DIGITS : u32 = 15 ;
35
35
36
- /// Difference between `1.0` and the next largest representable number.
36
+ /// [Machine epsilon] value for `f64`.
37
+ ///
38
+ /// This is the difference between `1.0` and the next largest representable number.
39
+ ///
40
+ /// [Machine epsilon]: https://en.wikipedia.org/wiki/Machine_epsilon
37
41
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
38
42
pub const EPSILON : f64 = 2.2204460492503131e-16_f64 ;
39
43
You can’t perform that action at this time.
0 commit comments