Skip to content

Commit 7c925cf

Browse files
committed
core: Long lines
1 parent 7820c2f commit 7c925cf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/libcore/f32.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,15 @@ pure fn gt(x: f32, y: f32) -> bool { ret x > y; }
5959
// to the libmath macros in the rust runtime for performance
6060

6161
#[doc(
62-
brief = "Returns true if `x` is a positive number, including +0.0f320 and +Infinity."
62+
brief = "Returns true if `x` is a positive number, including +0.0f320 \
63+
and +Infinity."
6364
)]
6465
pure fn is_positive(x: f32) -> bool
6566
{ ret x > 0.0f32 || (1.0f32/x) == infinity; }
6667

6768
#[doc(
68-
brief = "Returns true if `x` is a negative number, including -0.0f320 and -Infinity."
69+
brief = "Returns true if `x` is a negative number, including -0.0f320 \
70+
and -Infinity."
6971
)]
7072
pure fn is_negative(x: f32) -> bool
7173
{ ret x < 0.0f32 || (1.0f32/x) == neg_infinity; }

0 commit comments

Comments
 (0)