Skip to content

Commit bd7e79f

Browse files
Rollup merge of #147076 - joshuarayton:more-float-constants-issue, r=tgross35
update issue number for more_float_constants Update issue number from #103883 to #146939 r? `@tgross35`
2 parents aad3956 + 2e904c4 commit bd7e79f

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

library/core/src/num/f128.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ pub mod consts {
3333

3434
/// The golden ratio (φ)
3535
#[unstable(feature = "f128", issue = "116909")]
36-
// Also, #[unstable(feature = "more_float_constants", issue = "103883")]
36+
// Also, #[unstable(feature = "more_float_constants", issue = "146939")]
3737
pub const PHI: f128 = 1.61803398874989484820458683436563811772030917980576286213545_f128;
3838

3939
/// The Euler-Mascheroni constant (γ)
4040
#[unstable(feature = "f128", issue = "116909")]
41-
// Also, #[unstable(feature = "more_float_constants", issue = "103883")]
41+
// Also, #[unstable(feature = "more_float_constants", issue = "146939")]
4242
pub const EGAMMA: f128 = 0.577215664901532860606512090082402431042159335939923598805767_f128;
4343

4444
/// π/2
@@ -67,14 +67,14 @@ pub mod consts {
6767

6868
/// 1/sqrt(π)
6969
#[unstable(feature = "f128", issue = "116909")]
70-
// Also, #[unstable(feature = "more_float_constants", issue = "103883")]
70+
// Also, #[unstable(feature = "more_float_constants", issue = "146939")]
7171
pub const FRAC_1_SQRT_PI: f128 =
7272
0.564189583547756286948079451560772585844050629328998856844086_f128;
7373

7474
/// 1/sqrt(2π)
7575
#[doc(alias = "FRAC_1_SQRT_TAU")]
7676
#[unstable(feature = "f128", issue = "116909")]
77-
// Also, #[unstable(feature = "more_float_constants", issue = "103883")]
77+
// Also, #[unstable(feature = "more_float_constants", issue = "146939")]
7878
pub const FRAC_1_SQRT_2PI: f128 =
7979
0.398942280401432677939946059934381868475858631164934657665926_f128;
8080

@@ -98,12 +98,12 @@ pub mod consts {
9898

9999
/// sqrt(3)
100100
#[unstable(feature = "f128", issue = "116909")]
101-
// Also, #[unstable(feature = "more_float_constants", issue = "103883")]
101+
// Also, #[unstable(feature = "more_float_constants", issue = "146939")]
102102
pub const SQRT_3: f128 = 1.73205080756887729352744634150587236694280525381038062805581_f128;
103103

104104
/// 1/sqrt(3)
105105
#[unstable(feature = "f128", issue = "116909")]
106-
// Also, #[unstable(feature = "more_float_constants", issue = "103883")]
106+
// Also, #[unstable(feature = "more_float_constants", issue = "146939")]
107107
pub const FRAC_1_SQRT_3: f128 =
108108
0.577350269189625764509148780501957455647601751270126876018602_f128;
109109

library/core/src/num/f16.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ pub mod consts {
3535

3636
/// The golden ratio (φ)
3737
#[unstable(feature = "f16", issue = "116909")]
38-
// Also, #[unstable(feature = "more_float_constants", issue = "103883")]
38+
// Also, #[unstable(feature = "more_float_constants", issue = "146939")]
3939
pub const PHI: f16 = 1.618033988749894848204586834365638118_f16;
4040

4141
/// The Euler-Mascheroni constant (γ)
4242
#[unstable(feature = "f16", issue = "116909")]
43-
// Also, #[unstable(feature = "more_float_constants", issue = "103883")]
43+
// Also, #[unstable(feature = "more_float_constants", issue = "146939")]
4444
pub const EGAMMA: f16 = 0.577215664901532860606512090082402431_f16;
4545

4646
/// π/2
@@ -69,13 +69,13 @@ pub mod consts {
6969

7070
/// 1/sqrt(π)
7171
#[unstable(feature = "f16", issue = "116909")]
72-
// Also, #[unstable(feature = "more_float_constants", issue = "103883")]
72+
// Also, #[unstable(feature = "more_float_constants", issue = "146939")]
7373
pub const FRAC_1_SQRT_PI: f16 = 0.564189583547756286948079451560772586_f16;
7474

7575
/// 1/sqrt(2π)
7676
#[doc(alias = "FRAC_1_SQRT_TAU")]
7777
#[unstable(feature = "f16", issue = "116909")]
78-
// Also, #[unstable(feature = "more_float_constants", issue = "103883")]
78+
// Also, #[unstable(feature = "more_float_constants", issue = "146939")]
7979
pub const FRAC_1_SQRT_2PI: f16 = 0.398942280401432677939946059934381868_f16;
8080

8181
/// 2/π
@@ -96,12 +96,12 @@ pub mod consts {
9696

9797
/// sqrt(3)
9898
#[unstable(feature = "f16", issue = "116909")]
99-
// Also, #[unstable(feature = "more_float_constants", issue = "103883")]
99+
// Also, #[unstable(feature = "more_float_constants", issue = "146939")]
100100
pub const SQRT_3: f16 = 1.732050807568877293527446341505872367_f16;
101101

102102
/// 1/sqrt(3)
103103
#[unstable(feature = "f16", issue = "116909")]
104-
// Also, #[unstable(feature = "more_float_constants", issue = "103883")]
104+
// Also, #[unstable(feature = "more_float_constants", issue = "146939")]
105105
pub const FRAC_1_SQRT_3: f16 = 0.577350269189625764509148780501957456_f16;
106106

107107
/// Euler's number (e)

library/core/src/num/f32.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,11 @@ pub mod consts {
291291
pub const TAU: f32 = 6.28318530717958647692528676655900577_f32;
292292

293293
/// The golden ratio (φ)
294-
#[unstable(feature = "more_float_constants", issue = "103883")]
294+
#[unstable(feature = "more_float_constants", issue = "146939")]
295295
pub const PHI: f32 = 1.618033988749894848204586834365638118_f32;
296296

297297
/// The Euler-Mascheroni constant (γ)
298-
#[unstable(feature = "more_float_constants", issue = "103883")]
298+
#[unstable(feature = "more_float_constants", issue = "146939")]
299299
pub const EGAMMA: f32 = 0.577215664901532860606512090082402431_f32;
300300

301301
/// π/2
@@ -323,12 +323,12 @@ pub mod consts {
323323
pub const FRAC_1_PI: f32 = 0.318309886183790671537767526745028724_f32;
324324

325325
/// 1/sqrt(π)
326-
#[unstable(feature = "more_float_constants", issue = "103883")]
326+
#[unstable(feature = "more_float_constants", issue = "146939")]
327327
pub const FRAC_1_SQRT_PI: f32 = 0.564189583547756286948079451560772586_f32;
328328

329329
/// 1/sqrt(2π)
330330
#[doc(alias = "FRAC_1_SQRT_TAU")]
331-
#[unstable(feature = "more_float_constants", issue = "103883")]
331+
#[unstable(feature = "more_float_constants", issue = "146939")]
332332
pub const FRAC_1_SQRT_2PI: f32 = 0.398942280401432677939946059934381868_f32;
333333

334334
/// 2/π
@@ -348,11 +348,11 @@ pub mod consts {
348348
pub const FRAC_1_SQRT_2: f32 = 0.707106781186547524400844362104849039_f32;
349349

350350
/// sqrt(3)
351-
#[unstable(feature = "more_float_constants", issue = "103883")]
351+
#[unstable(feature = "more_float_constants", issue = "146939")]
352352
pub const SQRT_3: f32 = 1.732050807568877293527446341505872367_f32;
353353

354354
/// 1/sqrt(3)
355-
#[unstable(feature = "more_float_constants", issue = "103883")]
355+
#[unstable(feature = "more_float_constants", issue = "146939")]
356356
pub const FRAC_1_SQRT_3: f32 = 0.577350269189625764509148780501957456_f32;
357357

358358
/// Euler's number (e)

library/core/src/num/f64.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,11 @@ pub mod consts {
291291
pub const TAU: f64 = 6.28318530717958647692528676655900577_f64;
292292

293293
/// The golden ratio (φ)
294-
#[unstable(feature = "more_float_constants", issue = "103883")]
294+
#[unstable(feature = "more_float_constants", issue = "146939")]
295295
pub const PHI: f64 = 1.618033988749894848204586834365638118_f64;
296296

297297
/// The Euler-Mascheroni constant (γ)
298-
#[unstable(feature = "more_float_constants", issue = "103883")]
298+
#[unstable(feature = "more_float_constants", issue = "146939")]
299299
pub const EGAMMA: f64 = 0.577215664901532860606512090082402431_f64;
300300

301301
/// π/2
@@ -323,12 +323,12 @@ pub mod consts {
323323
pub const FRAC_1_PI: f64 = 0.318309886183790671537767526745028724_f64;
324324

325325
/// 1/sqrt(π)
326-
#[unstable(feature = "more_float_constants", issue = "103883")]
326+
#[unstable(feature = "more_float_constants", issue = "146939")]
327327
pub const FRAC_1_SQRT_PI: f64 = 0.564189583547756286948079451560772586_f64;
328328

329329
/// 1/sqrt(2π)
330330
#[doc(alias = "FRAC_1_SQRT_TAU")]
331-
#[unstable(feature = "more_float_constants", issue = "103883")]
331+
#[unstable(feature = "more_float_constants", issue = "146939")]
332332
pub const FRAC_1_SQRT_2PI: f64 = 0.398942280401432677939946059934381868_f64;
333333

334334
/// 2/π
@@ -348,11 +348,11 @@ pub mod consts {
348348
pub const FRAC_1_SQRT_2: f64 = 0.707106781186547524400844362104849039_f64;
349349

350350
/// sqrt(3)
351-
#[unstable(feature = "more_float_constants", issue = "103883")]
351+
#[unstable(feature = "more_float_constants", issue = "146939")]
352352
pub const SQRT_3: f64 = 1.732050807568877293527446341505872367_f64;
353353

354354
/// 1/sqrt(3)
355-
#[unstable(feature = "more_float_constants", issue = "103883")]
355+
#[unstable(feature = "more_float_constants", issue = "146939")]
356356
pub const FRAC_1_SQRT_3: f64 = 0.577350269189625764509148780501957456_f64;
357357

358358
/// Euler's number (e)

0 commit comments

Comments
 (0)