about summary refs log tree commit diff
path: root/src/libcore/num/f32.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-01-22 18:22:03 -0800
committerBrian Anderson <banderson@mozilla.com>2015-01-23 13:28:40 -0800
commitcd6d9eab5d75584edfcae4ffdef8b0836db80c1e (patch)
treefff2c174986eaab33f67390d0a114d508966fe68 /src/libcore/num/f32.rs
parentf86bcc1543cb053363c5e6818a2ad44877ea8361 (diff)
downloadrust-cd6d9eab5d75584edfcae4ffdef8b0836db80c1e.tar.gz
rust-cd6d9eab5d75584edfcae4ffdef8b0836db80c1e.zip
Set unstable feature names appropriately
* `core` - for the core crate
* `hash` - hashing
* `io` - io
* `path` - path
* `alloc` - alloc crate
* `rand` - rand crate
* `collections` - collections crate
* `std_misc` - other parts of std
* `test` - test crate
* `rustc_private` - everything else
Diffstat (limited to 'src/libcore/num/f32.rs')
-rw-r--r--src/libcore/num/f32.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/libcore/num/f32.rs b/src/libcore/num/f32.rs
index 4d5a0c1af4d..8e28bb18aef 100644
--- a/src/libcore/num/f32.rs
+++ b/src/libcore/num/f32.rs
@@ -22,12 +22,12 @@ use num::Float;
 use num::FpCategory as Fp;
 use option::Option;
 
-#[unstable(feature = "unnamed_feature", reason = "pending integer conventions")]
+#[unstable(feature = "core", reason = "pending integer conventions")]
 pub const RADIX: uint = 2u;
 
-#[unstable(feature = "unnamed_feature", reason = "pending integer conventions")]
+#[unstable(feature = "core", reason = "pending integer conventions")]
 pub const MANTISSA_DIGITS: uint = 24u;
-#[unstable(feature = "unnamed_feature", reason = "pending integer conventions")]
+#[unstable(feature = "core", reason = "pending integer conventions")]
 pub const DIGITS: uint = 6u;
 
 #[stable(feature = "grandfathered", since = "1.0.0")]
@@ -43,14 +43,14 @@ pub const MIN_POS_VALUE: f32 = 1.17549435e-38_f32;
 #[stable(feature = "grandfathered", since = "1.0.0")]
 pub const MAX_VALUE: f32 = 3.40282347e+38_f32;
 
-#[unstable(feature = "unnamed_feature", reason = "pending integer conventions")]
+#[unstable(feature = "core", reason = "pending integer conventions")]
 pub const MIN_EXP: int = -125;
-#[unstable(feature = "unnamed_feature", reason = "pending integer conventions")]
+#[unstable(feature = "core", reason = "pending integer conventions")]
 pub const MAX_EXP: int = 128;
 
-#[unstable(feature = "unnamed_feature", reason = "pending integer conventions")]
+#[unstable(feature = "core", reason = "pending integer conventions")]
 pub const MIN_10_EXP: int = -37;
-#[unstable(feature = "unnamed_feature", reason = "pending integer conventions")]
+#[unstable(feature = "core", reason = "pending integer conventions")]
 pub const MAX_10_EXP: int = 38;
 
 #[stable(feature = "grandfathered", since = "1.0.0")]
@@ -61,7 +61,7 @@ pub const INFINITY: f32 = 1.0_f32/0.0_f32;
 pub const NEG_INFINITY: f32 = -1.0_f32/0.0_f32;
 
 /// Various useful constants.
-#[unstable(feature = "unnamed_feature",
+#[unstable(feature = "core",
            reason = "naming scheme needs to be revisited")]
 pub mod consts {
     // FIXME: replace with mathematical constants from cmath.
@@ -118,7 +118,7 @@ pub mod consts {
     pub const LN_10: f32 = 2.30258509299404568401799145468436421_f32;
 }
 
-#[unstable(feature = "unnamed_feature", reason = "trait is unstable")]
+#[unstable(feature = "core", reason = "trait is unstable")]
 impl Float for f32 {
     #[inline]
     fn nan() -> f32 { NAN }