Improve float number example

This commit is contained in:
Guillaume Gomez 2016-07-15 17:51:27 +02:00
parent 3cc3ad11e6
commit b10ac8a450

View file

@ -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);