[][src]Trait softposit::MathConsts

pub trait MathConsts {
const E: Self;
const FRAC_1_PI: Self;
const FRAC_1_SQRT_2: Self;
const FRAC_2_PI: Self;
const FRAC_2_SQRT_PI: Self;
const FRAC_PI_2: Self;
const FRAC_PI_3: Self;
const FRAC_PI_4: Self;
const FRAC_PI_6: Self;
const FRAC_PI_8: Self;
const LN_10: Self;
const LN_2: Self;
const LOG10_E: Self;
const LOG2_E: Self;
const PI: Self;
const SQRT_2: Self;
const LOG2_10: Self;
const LOG10_2: Self;
}

Associated Constants

const E: Self

Euler's number (e)

const FRAC_1_PI: Self

1/π

const FRAC_1_SQRT_2: Self

const FRAC_2_PI: Self

2/π

const FRAC_2_SQRT_PI: Self

const FRAC_PI_2: Self

π/2

const FRAC_PI_3: Self

π/3

const FRAC_PI_4: Self

π/4

const FRAC_PI_6: Self

π/6

const FRAC_PI_8: Self

π/8

const LN_10: Self

ln(10)

const LN_2: Self

ln(2)

const LOG10_E: Self

log10(e)

const LOG2_E: Self

log2(e)

const PI: Self

Archimedes' constant (π)

const SQRT_2: Self

sqrt(2)

const LOG2_10: Self

log2(10)

const LOG10_2: Self

log10(2)

Loading content...

Implementors

impl MathConsts for P16E1[src]

impl MathConsts for P32E2[src]

Loading content...