Skip to content

Commit

Permalink
Improve float number example
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jul 15, 2016
1 parent 3cc3ad1 commit b10ac8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/num/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2318,7 +2318,7 @@ impl usize {
/// let num = 12.4_f32;
/// let inf = f32::INFINITY;
/// let zero = 0f32;
/// let sub: f32 = 0.000000000000000000000000000000000000011754942;
/// let sub: f32 = 1.1754942e-38;
/// let nan = f32::NAN;
///
/// assert_eq!(num.classify(), FpCategory::Normal);
Expand Down

0 comments on commit b10ac8a

Please sign in to comment.