File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
branches/snap-stage3/src/libcore Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 7820c2f17a2f1f94eddb6fc3897d61e473c496c4
4
+ refs/heads/snap-stage3: 7c925cfaaf2ac311b681862a01c4aa5ecc466090
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -59,13 +59,15 @@ pure fn gt(x: f32, y: f32) -> bool { ret x > y; }
59
59
// to the libmath macros in the rust runtime for performance
60
60
61
61
#[ 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."
63
64
) ]
64
65
pure fn is_positive ( x : f32 ) -> bool
65
66
{ ret x > 0.0f32 || ( 1.0f32 /x) == infinity; }
66
67
67
68
#[ 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."
69
71
) ]
70
72
pure fn is_negative ( x : f32 ) -> bool
71
73
{ ret x < 0.0f32 || ( 1.0f32 /x) == neg_infinity; }
You can’t perform that action at this time.
0 commit comments