diff options
Diffstat (limited to 'src/libcore/num/f32.rs')
| -rw-r--r-- | src/libcore/num/f32.rs | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/src/libcore/num/f32.rs b/src/libcore/num/f32.rs index 8e28bb18aef..b3733efe7b3 100644 --- a/src/libcore/num/f32.rs +++ b/src/libcore/num/f32.rs @@ -178,43 +178,53 @@ impl Float for f32 { } #[inline] - #[deprecated(feature = "oldstuff", since = "1.0.0")] + #[unstable(feature = "core")] + #[deprecated(since = "1.0.0")] fn mantissa_digits(_: Option<f32>) -> uint { MANTISSA_DIGITS } #[inline] - #[deprecated(feature = "oldstuff", since = "1.0.0")] + #[unstable(feature = "core")] + #[deprecated(since = "1.0.0")] fn digits(_: Option<f32>) -> uint { DIGITS } #[inline] - #[deprecated(feature = "oldstuff", since = "1.0.0")] + #[unstable(feature = "core")] + #[deprecated(since = "1.0.0")] fn epsilon() -> f32 { EPSILON } #[inline] - #[deprecated(feature = "oldstuff", since = "1.0.0")] + #[unstable(feature = "core")] + #[deprecated(since = "1.0.0")] fn min_exp(_: Option<f32>) -> int { MIN_EXP } #[inline] - #[deprecated(feature = "oldstuff", since = "1.0.0")] + #[unstable(feature = "core")] + #[deprecated(since = "1.0.0")] fn max_exp(_: Option<f32>) -> int { MAX_EXP } #[inline] - #[deprecated(feature = "oldstuff", since = "1.0.0")] + #[unstable(feature = "core")] + #[deprecated(since = "1.0.0")] fn min_10_exp(_: Option<f32>) -> int { MIN_10_EXP } #[inline] - #[deprecated(feature = "oldstuff", since = "1.0.0")] + #[unstable(feature = "core")] + #[deprecated(since = "1.0.0")] fn max_10_exp(_: Option<f32>) -> int { MAX_10_EXP } #[inline] - #[deprecated(feature = "oldstuff", since = "1.0.0")] + #[unstable(feature = "core")] + #[deprecated(since = "1.0.0")] fn min_value() -> f32 { MIN_VALUE } #[inline] - #[deprecated(feature = "oldstuff", since = "1.0.0")] + #[unstable(feature = "core")] + #[deprecated(since = "1.0.0")] fn min_pos_value(_: Option<f32>) -> f32 { MIN_POS_VALUE } #[inline] - #[deprecated(feature = "oldstuff", since = "1.0.0")] + #[unstable(feature = "core")] + #[deprecated(since = "1.0.0")] fn max_value() -> f32 { MAX_VALUE } /// Returns the mantissa, exponent and sign as integers. |
