Skip to content

Commit 543163a

Browse files
committed
---
yaml --- r: 24254 b: refs/heads/master c: 70c202e h: refs/heads/master v: v3
1 parent 7719719 commit 543163a

File tree

4 files changed

+4
-46
lines changed

4 files changed

+4
-46
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 3eb7b5ca13d2e7118c674082ae12acc2f0b40617
2+
refs/heads/master: 70c202e21842c488b7738495bdd75ccdb79a2677
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libcore/core.rc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,7 @@ mod u64 {
183183
mod box;
184184
mod char;
185185
mod float;
186-
#[legacy_exports]
187186
mod f32;
188-
#[legacy_exports]
189187
mod f64;
190188
#[legacy_exports]
191189
mod str;

trunk/src/libcore/f32.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,9 @@
44

55
//! Operations and constants for `f32`
66
7-
// PORT
8-
97
pub use cmath::c_float::*;
108
pub use cmath::c_float_targ_consts::*;
119

12-
export add, sub, mul, div, rem, lt, le, eq, ne, ge, gt;
13-
export is_positive, is_negative, is_nonpositive, is_nonnegative;
14-
export is_zero, is_infinite, is_finite;
15-
export NaN, is_NaN, infinity, neg_infinity;
16-
export consts;
17-
export logarithm;
18-
export acos, asin, atan, atan2, cbrt, ceil, copysign, cos, cosh, floor;
19-
export erf, erfc, exp, expm1, exp2, abs, abs_sub;
20-
export mul_add, fmax, fmin, nextafter, frexp, hypot, ldexp;
21-
export lgamma, ln, log_radix, ln1p, log10, log2, ilog_radix;
22-
export modf, pow, round, sin, sinh, sqrt, tan, tanh, tgamma, trunc;
23-
export signbit;
24-
2510
// These are not defined inside consts:: for consistency with
2611
// the integer types
2712

trunk/src/libcore/f64.rs

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,14 @@
44

55
//! Operations and constants for `f64`
66
7-
// PORT
7+
pub use cmath::c_double::*;
8+
pub use cmath::c_double_targ_consts::*;
89

9-
use cmath::c_double::*;
10-
use cmath::c_double_targ_consts::*;
10+
// FIXME (#1433): obtain these in a different way
1111

1212
// These are not defined inside consts:: for consistency with
1313
// the integer types
1414

15-
// Even though this module exports everything defined in it,
16-
// because it contains re-exports, we also have to explicitly
17-
// export locally defined things. That's a bit annoying.
18-
export add, sub, mul, div, rem, lt, le, eq, ne, ge, gt;
19-
export is_positive, is_negative, is_nonpositive, is_nonnegative;
20-
export is_zero, is_infinite, is_finite;
21-
export NaN, is_NaN, infinity, neg_infinity;
22-
export consts;
23-
export logarithm;
24-
export acos, asin, atan, atan2, cbrt, ceil, copysign, cos, cosh, floor;
25-
export erf, erfc, exp, expm1, exp2, abs, abs_sub;
26-
export mul_add, fmax, fmin, nextafter, frexp, hypot, ldexp;
27-
export lgamma, ln, log_radix, ln1p, log10, log2, ilog_radix;
28-
export modf, pow, round, sin, sinh, sqrt, tan, tanh, tgamma, trunc;
29-
export signbit;
30-
export epsilon;
31-
32-
export j0, j1, jn, y0, y1, yn;
33-
34-
export num;
35-
36-
// PORT check per architecture
37-
38-
// FIXME (#1433): obtain these in a different way
39-
4015
pub const radix: uint = 2u;
4116

4217
pub const mantissa_digits: uint = 53u;

0 commit comments

Comments
 (0)