Skip to content

Commit 05f11cb

Browse files
committed
---
yaml --- r: 172007 b: refs/heads/beta c: 72e0800 h: refs/heads/master i: 172005: 32e2357 172003: bf79900 171999: ab623b2 v: v3
1 parent 8243f07 commit 05f11cb

File tree

17 files changed

+147
-574
lines changed

17 files changed

+147
-574
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b5571ed71a5879c0495a982506258d5d267744ed
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: 6539cb417f4a7c2d9d1afce44c196578d2b67f38
34+
refs/heads/beta: 72e08006da9f9bdf73f57a99092aae3109373b93
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928

branches/beta/src/libcore/num/f32.rs

Lines changed: 7 additions & 17 deletions
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-
#[unstable = "pending integer conventions"]
25+
#[stable]
2626
pub const RADIX: uint = 2u;
2727

28-
#[unstable = "pending integer conventions"]
28+
#[stable]
2929
pub const MANTISSA_DIGITS: uint = 24u;
30-
#[unstable = "pending integer conventions"]
30+
#[stable]
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-
#[unstable = "pending integer conventions"]
46+
#[stable]
4747
pub const MIN_EXP: int = -125;
48-
#[unstable = "pending integer conventions"]
48+
#[stable]
4949
pub const MAX_EXP: int = 128;
5050

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

5656
#[stable]
@@ -177,43 +177,33 @@ impl Float for f32 {
177177
}
178178

179179
#[inline]
180-
#[deprecated]
181180
fn mantissa_digits(_: Option<f32>) -> uint { MANTISSA_DIGITS }
182181

183182
#[inline]
184-
#[deprecated]
185183
fn digits(_: Option<f32>) -> uint { DIGITS }
186184

187185
#[inline]
188-
#[deprecated]
189186
fn epsilon() -> f32 { EPSILON }
190187

191188
#[inline]
192-
#[deprecated]
193189
fn min_exp(_: Option<f32>) -> int { MIN_EXP }
194190

195191
#[inline]
196-
#[deprecated]
197192
fn max_exp(_: Option<f32>) -> int { MAX_EXP }
198193

199194
#[inline]
200-
#[deprecated]
201195
fn min_10_exp(_: Option<f32>) -> int { MIN_10_EXP }
202196

203197
#[inline]
204-
#[deprecated]
205198
fn max_10_exp(_: Option<f32>) -> int { MAX_10_EXP }
206199

207200
#[inline]
208-
#[deprecated]
209201
fn min_value() -> f32 { MIN_VALUE }
210202

211203
#[inline]
212-
#[deprecated]
213204
fn min_pos_value(_: Option<f32>) -> f32 { MIN_POS_VALUE }
214205

215206
#[inline]
216-
#[deprecated]
217207
fn max_value() -> f32 { MAX_VALUE }
218208

219209
/// Returns the mantissa, exponent and sign as integers.

branches/beta/src/libcore/num/f64.rs

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

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

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

3637
#[stable]
@@ -46,14 +47,14 @@ pub const MIN_POS_VALUE: f64 = 2.2250738585072014e-308_f64;
4647
#[stable]
4748
pub const MAX_VALUE: f64 = 1.7976931348623157e+308_f64;
4849

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

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

5960
#[stable]
@@ -184,43 +185,33 @@ impl Float for f64 {
184185
}
185186

186187
#[inline]
187-
#[deprecated]
188188
fn mantissa_digits(_: Option<f64>) -> uint { MANTISSA_DIGITS }
189189

190190
#[inline]
191-
#[deprecated]
192191
fn digits(_: Option<f64>) -> uint { DIGITS }
193192

194193
#[inline]
195-
#[deprecated]
196194
fn epsilon() -> f64 { EPSILON }
197195

198196
#[inline]
199-
#[deprecated]
200197
fn min_exp(_: Option<f64>) -> int { MIN_EXP }
201198

202199
#[inline]
203-
#[deprecated]
204200
fn max_exp(_: Option<f64>) -> int { MAX_EXP }
205201

206202
#[inline]
207-
#[deprecated]
208203
fn min_10_exp(_: Option<f64>) -> int { MIN_10_EXP }
209204

210205
#[inline]
211-
#[deprecated]
212206
fn max_10_exp(_: Option<f64>) -> int { MAX_10_EXP }
213207

214208
#[inline]
215-
#[deprecated]
216209
fn min_value() -> f64 { MIN_VALUE }
217210

218211
#[inline]
219-
#[deprecated]
220212
fn min_pos_value(_: Option<f64>) -> f64 { MIN_POS_VALUE }
221213

222214
#[inline]
223-
#[deprecated]
224215
fn max_value() -> f64 { MAX_VALUE }
225216

226217
/// Returns the mantissa, exponent and sign as integers.

0 commit comments

Comments
 (0)