Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libcore/f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/libcore/f64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/libcore/float.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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};
Expand Down