Skip to main content

SqrtPi

Trait SqrtPi 

Source
pub trait SqrtPi {
    const SQRT_PI: Self;
}
Expand description

Provides $\sqrt{\pi}$.

Required Associated Constants§

Source

const SQRT_PI: Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SqrtPi for f32

$\sqrt{\pi}$.

Source§

const SQRT_PI: f32 = 1.7724539

Source§

impl SqrtPi for f64

$\sqrt{\pi}$.

Source§

const SQRT_PI: f64 = 1.772453850905516

Implementors§