Ln2

Trait Ln2 

Source
pub trait Ln2 {
    const LN_2: Self;
}
Expand description

Provides $\ln 2$.

Required Associated Constants§

Source

const LN_2: 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 Ln2 for f32

$\ln 2$.

Source§

const LN_2: f32 = 0.693147182f32

Source§

impl Ln2 for f64

$\ln 2$.

Source§

const LN_2: f64 = 0.69314718055994529f64

Implementors§