Constant tau::TAU [] [src]

pub const TAU: f64 = 6.28318530717958647692528676655900576f64

The mathematical constant tau, where pi is defined as tau/2.

We provide it as f64 for now.

use tau::TAU;
assert_eq!(TAU.cos(), 1.0);