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