Skip to content

Commit 49feb0c

Browse files
committed
Unstabilise f32/f64 constants that are int/uint.
Pending integer conventions.
1 parent 65922dd commit 49feb0c

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

src/libcore/num/f32.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ use num::Float;
2222
use num::FpCategory as Fp;
2323
use option::Option;
2424

25-
#[stable]
25+
#[unstable = "pending integer conventions"]
2626
pub const RADIX: uint = 2u;
2727

28-
#[stable]
28+
#[unstable = "pending integer conventions"]
2929
pub const MANTISSA_DIGITS: uint = 24u;
30-
#[stable]
30+
#[unstable = "pending integer conventions"]
3131
pub const DIGITS: uint = 6u;
3232

3333
#[stable]
@@ -43,14 +43,14 @@ pub const MIN_POS_VALUE: f32 = 1.17549435e-38_f32;
4343
#[stable]
4444
pub const MAX_VALUE: f32 = 3.40282347e+38_f32;
4545

46-
#[stable]
46+
#[unstable = "pending integer conventions"]
4747
pub const MIN_EXP: int = -125;
48-
#[stable]
48+
#[unstable = "pending integer conventions"]
4949
pub const MAX_EXP: int = 128;
5050

51-
#[stable]
51+
#[unstable = "pending integer conventions"]
5252
pub const MIN_10_EXP: int = -37;
53-
#[stable]
53+
#[unstable = "pending integer conventions"]
5454
pub const MAX_10_EXP: int = 38;
5555

5656
#[stable]

src/libcore/num/f64.rs

+6-7
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,11 @@ use option::Option;
2626
// constants are implemented in favour of referencing the respective
2727
// members of `Bounded` and `Float`.
2828

29-
#[stable]
29+
#[unstable = "pending integer conventions"]
3030
pub const RADIX: uint = 2u;
3131

32-
#[stable]
3332
pub const MANTISSA_DIGITS: uint = 53u;
34-
#[stable]
33+
#[unstable = "pending integer conventions"]
3534
pub const DIGITS: uint = 15u;
3635

3736
#[stable]
@@ -47,14 +46,14 @@ pub const MIN_POS_VALUE: f64 = 2.2250738585072014e-308_f64;
4746
#[stable]
4847
pub const MAX_VALUE: f64 = 1.7976931348623157e+308_f64;
4948

50-
#[stable]
49+
#[unstable = "pending integer conventions"]
5150
pub const MIN_EXP: int = -1021;
52-
#[stable]
51+
#[unstable = "pending integer conventions"]
5352
pub const MAX_EXP: int = 1024;
5453

55-
#[stable]
54+
#[unstable = "pending integer conventions"]
5655
pub const MIN_10_EXP: int = -307;
57-
#[stable]
56+
#[unstable = "pending integer conventions"]
5857
pub const MAX_10_EXP: int = 308;
5958

6059
#[stable]

0 commit comments

Comments
 (0)