Trait Pi
easy_ml::numeric::extra
pub trait Pi { fn pi() -> Self; }
A type which can represent Pi.
fn pi() -> Self
impl Pi for f32
fn pi() -> f32
impl Pi for f64
fn pi() -> f64