We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a05ed99 commit 8797c9eCopy full SHA for 8797c9e
src/libcore/num/f32.rs
@@ -73,6 +73,7 @@ pub mod consts {
73
/// pi * 2.0
74
#[unstable(feature = "float_consts",
75
reason = "unclear naming convention/usefulness")]
76
+ #[deprecated(since = "1.2.0", reason = "unclear on usefulness")]
77
pub const PI_2: f32 = 6.28318530717958647692528676655900576_f32;
78
79
/// pi/2.0
src/libcore/num/f64.rs
pub const PI_2: f64 = 6.28318530717958647692528676655900576_f64;
0 commit comments