Skip to main content

Sqrt5Over5

Trait Sqrt5Over5 

Source
pub trait Sqrt5Over5 {
    const SQRT_5_OVER_5: Self;
}
Expand description

Provides $\sqrt{5}/5=\sqrt{1/5}=1/\sqrt{5}$.

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Sqrt5Over5 for f32

$\sqrt{5}/5=\sqrt{1/5}=1/\sqrt{5}$.

Source§

const SQRT_5_OVER_5: f32 = 0.4472136

Source§

impl Sqrt5Over5 for f64

$\sqrt{5}/5=\sqrt{1/5}=1/\sqrt{5}$.

Source§

const SQRT_5_OVER_5: f64 = 0.4472135954999579

Implementors§