File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 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;
3131#[ stable( feature = "rust1" , since = "1.0.0" ) ]
3232pub const DIGITS : u32 = 6 ;
3333
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
3539#[ stable( feature = "rust1" , since = "1.0.0" ) ]
3640pub const EPSILON : f32 = 1.19209290e-07_f32 ;
3741
Original file line number Diff line number Diff line change @@ -31,7 +31,11 @@ pub const MANTISSA_DIGITS: u32 = 53;
3131#[ stable( feature = "rust1" , since = "1.0.0" ) ]
3232pub const DIGITS : u32 = 15 ;
3333
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
3539#[ stable( feature = "rust1" , since = "1.0.0" ) ]
3640pub const EPSILON : f64 = 2.2204460492503131e-16_f64 ;
3741
You can’t perform that action at this time.
0 commit comments