From 2ae493a767536b0a5180c788d9ecf2b7ea8bf749 Mon Sep 17 00:00:00 2001 From: LeSeulArtichaut Date: Sun, 16 Feb 2020 18:53:02 +0100 Subject: [PATCH] Stabilize {f32, f64}::{LOG2_10, LOG10_2} --- src/libcore/num/f32.rs | 4 ++-- src/libcore/num/f64.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libcore/num/f32.rs b/src/libcore/num/f32.rs index da8dd9acd9f48..0a4fc6464ca97 100644 --- a/src/libcore/num/f32.rs +++ b/src/libcore/num/f32.rs @@ -130,7 +130,7 @@ pub mod consts { pub const LOG2_E: f32 = 1.44269504088896340735992468100189214_f32; /// log2(10) - #[unstable(feature = "extra_log_consts", issue = "50540")] + #[stable(feature = "extra_log_consts", since = "1.43.0")] pub const LOG2_10: f32 = 3.32192809488736234787031942948939018_f32; /// log10(e) @@ -138,7 +138,7 @@ pub mod consts { pub const LOG10_E: f32 = 0.434294481903251827651128918916605082_f32; /// log10(2) - #[unstable(feature = "extra_log_consts", issue = "50540")] + #[stable(feature = "extra_log_consts", since = "1.43.0")] pub const LOG10_2: f32 = 0.301029995663981195213738894724493027_f32; /// ln(2) diff --git a/src/libcore/num/f64.rs b/src/libcore/num/f64.rs index a6081f184ab22..a3acf0f23c4e2 100644 --- a/src/libcore/num/f64.rs +++ b/src/libcore/num/f64.rs @@ -126,7 +126,7 @@ pub mod consts { pub const E: f64 = 2.71828182845904523536028747135266250_f64; /// log2(10) - #[unstable(feature = "extra_log_consts", issue = "50540")] + #[stable(feature = "extra_log_consts", since = "1.43.0")] pub const LOG2_10: f64 = 3.32192809488736234787031942948939018_f64; /// log2(e) @@ -134,7 +134,7 @@ pub mod consts { pub const LOG2_E: f64 = 1.44269504088896340735992468100189214_f64; /// log10(2) - #[unstable(feature = "extra_log_consts", issue = "50540")] + #[stable(feature = "extra_log_consts", since = "1.43.0")] pub const LOG10_2: f64 = 0.301029995663981195213738894724493027_f64; /// log10(e)