Remove use of PI_2
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
f44b3381f4
commit
c1cbf7465d
|
@ -387,7 +387,7 @@ macro_rules! impl_base_float(
|
|||
|
||||
/// 2.0 * pi.
|
||||
fn two_pi() -> $n {
|
||||
$n::consts::PI_2
|
||||
2.0 * $n::consts::PI
|
||||
}
|
||||
|
||||
/// pi / 2.0.
|
||||
|
|
Loading…
Reference in New Issue