Remove use of PI_2

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg 2015-04-02 04:10:36 -04:00
parent f44b3381f4
commit c1cbf7465d
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ macro_rules! impl_base_float(
/// 2.0 * pi. /// 2.0 * pi.
fn two_pi() -> $n { fn two_pi() -> $n {
$n::consts::PI_2 2.0 * $n::consts::PI
} }
/// pi / 2.0. /// pi / 2.0.