mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
parent
d3df8512d2
commit
5d4147a965
@ -242,7 +242,7 @@ pub mod consts {
|
||||
/// The full circle constant (τ)
|
||||
///
|
||||
/// Equal to 2π.
|
||||
#[unstable(feature = "tau_constant", issue = "66770")]
|
||||
#[stable(feature = "tau_constant", since = "1.47.0")]
|
||||
pub const TAU: f32 = 6.28318530717958647692528676655900577_f32;
|
||||
|
||||
/// π/2
|
||||
|
@ -242,7 +242,7 @@ pub mod consts {
|
||||
/// The full circle constant (τ)
|
||||
///
|
||||
/// Equal to 2π.
|
||||
#[unstable(feature = "tau_constant", issue = "66770")]
|
||||
#[stable(feature = "tau_constant", since = "1.47.0")]
|
||||
pub const TAU: f64 = 6.28318530717958647692528676655900577_f64;
|
||||
|
||||
/// π/2
|
||||
|
Loading…
Reference in New Issue
Block a user