diff options
| author | Chris Peterson <cpeterson@mozilla.com> | 2012-08-12 18:24:45 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-08-13 14:03:14 -0700 |
| commit | 9470e5d7d56b4e697e6ba96e8f0cc10c64f0bdf0 (patch) | |
| tree | bc10ef56c6d71c490c4e1e2d476953be956d0ab9 /src/libcore | |
| parent | af1a66a53c48f94c69bfc7cc571dd043d7a37355 (diff) | |
| download | rust-9470e5d7d56b4e697e6ba96e8f0cc10c64f0bdf0.tar.gz rust-9470e5d7d56b4e697e6ba96e8f0cc10c64f0bdf0.zip | |
core: Export f32::ge(), f64::ge(), and float::ge()
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/f32.rs | 2 | ||||
| -rw-r--r-- | src/libcore/f64.rs | 2 | ||||
| -rw-r--r-- | src/libcore/float.rs | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/f32.rs b/src/libcore/f32.rs index 575c1d40c42..5faf5393e39 100644 --- a/src/libcore/f32.rs +++ b/src/libcore/f32.rs @@ -5,7 +5,7 @@ import cmath::c_float::*; import cmath::c_float_targ_consts::*; -export add, sub, mul, div, rem, lt, le, gt, eq, ne; +export add, sub, mul, div, rem, lt, le, eq, ne, ge, gt; export is_positive, is_negative, is_nonpositive, is_nonnegative; export is_zero, is_infinite, is_finite; export NaN, is_NaN, infinity, neg_infinity; diff --git a/src/libcore/f64.rs b/src/libcore/f64.rs index bc2c6faa69d..bb7768beba2 100644 --- a/src/libcore/f64.rs +++ b/src/libcore/f64.rs @@ -8,7 +8,7 @@ import cmath::c_double_targ_consts::*; // Even though this module exports everything defined in it, // because it contains re-exports, we also have to explicitly // export locally defined things. That's a bit annoying. -export add, sub, mul, div, rem, lt, le, gt, eq, ne; +export add, sub, mul, div, rem, lt, le, eq, ne, ge, gt; export is_positive, is_negative, is_nonpositive, is_nonnegative; export is_zero, is_infinite, is_finite; export NaN, is_NaN, infinity, neg_infinity; diff --git a/src/libcore/float.rs b/src/libcore/float.rs index c41853b4e15..0542b5b6593 100644 --- a/src/libcore/float.rs +++ b/src/libcore/float.rs @@ -4,7 +4,7 @@ // because it contains re-exports, we also have to explicitly // export locally defined things. That's a bit annoying. export to_str_common, to_str_exact, to_str, from_str; -export add, sub, mul, div, rem, lt, le, gt, eq, ne; +export add, sub, mul, div, rem, lt, le, eq, ne, ge, gt; export is_positive, is_negative, is_nonpositive, is_nonnegative; export is_zero, is_infinite, is_finite; export NaN, is_NaN, infinity, neg_infinity; @@ -28,7 +28,7 @@ export j0, j1, jn, y0, y1, yn; import m_float = f64; -import f64::{add, sub, mul, div, rem, lt, le, gt, eq, ne}; +import f64::{add, sub, mul, div, rem, lt, le, eq, ne, ge, gt}; import f64::logarithm; import f64::{acos, asin, atan2, cbrt, ceil, copysign, cosh, floor}; import f64::{erf, erfc, exp, expm1, exp2, abs_sub}; |
