diff options
| author | Ziad Hatahet <hatahet@gmail.com> | 2013-10-28 17:34:33 -0700 |
|---|---|---|
| committer | Ziad Hatahet <hatahet@gmail.com> | 2013-10-28 19:35:56 -0700 |
| commit | 3797f2bfe63ca618702607b0dd3f714f8fab99f3 (patch) | |
| tree | 0d486191b8a03d694e9580a179d5820c41135574 /src/libstd/num/num.rs | |
| parent | cd6e9f4f834f849a3dafd7cf0786f3c97bc3bb37 (diff) | |
| download | rust-3797f2bfe63ca618702607b0dd3f714f8fab99f3.tar.gz rust-3797f2bfe63ca618702607b0dd3f714f8fab99f3.zip | |
Capitalize statics in f32 and f64 mods
Fixes #10077
Diffstat (limited to 'src/libstd/num/num.rs')
| -rw-r--r-- | src/libstd/num/num.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/num/num.rs b/src/libstd/num/num.rs index d49759515b3..3097a8e138e 100644 --- a/src/libstd/num/num.rs +++ b/src/libstd/num/num.rs @@ -86,9 +86,9 @@ pub trait Signed: Num /// Returns the sign of the number. /// /// For float, f32, f64: -/// - `1.0` if the number is positive, `+0.0` or `infinity` -/// - `-1.0` if the number is negative, `-0.0` or `neg_infinity` -/// - `NaN` if the number is `NaN` +/// - `1.0` if the number is positive, `+0.0` or `INFINITY` +/// - `-1.0` if the number is negative, `-0.0` or `NEG_INFINITY` +/// - `NAN` if the number is `NAN` /// /// For int: /// - `0` if the number is zero |
