diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-01-26 23:12:30 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-01-26 23:12:30 -0800 |
| commit | 7c925cfaaf2ac311b681862a01c4aa5ecc466090 (patch) | |
| tree | 8b3905bc177d222d24f882ee5604fdc3cf5ed882 /src/libcore | |
| parent | 7820c2f17a2f1f94eddb6fc3897d61e473c496c4 (diff) | |
core: Long lines
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/f32.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libcore/f32.rs b/src/libcore/f32.rs index 0e4974e645c..95538d7c3b9 100644 --- a/src/libcore/f32.rs +++ b/src/libcore/f32.rs @@ -59,13 +59,15 @@ pure fn gt(x: f32, y: f32) -> bool { ret x > y; } // to the libmath macros in the rust runtime for performance #[doc( - brief = "Returns true if `x` is a positive number, including +0.0f320 and +Infinity." + brief = "Returns true if `x` is a positive number, including +0.0f320 \ + and +Infinity." )] pure fn is_positive(x: f32) -> bool { ret x > 0.0f32 || (1.0f32/x) == infinity; } #[doc( - brief = "Returns true if `x` is a negative number, including -0.0f320 and -Infinity." + brief = "Returns true if `x` is a negative number, including -0.0f320 \ + and -Infinity." )] pure fn is_negative(x: f32) -> bool { ret x < 0.0f32 || (1.0f32/x) == neg_infinity; } |
