Trait consalign::FastExp

pub trait FastExp<V>where
    V: Float + MulAssign<V>,{
    // Required method
    fn fastexp(&self) -> V;
}
Expand description

This trait adds a fast approximation of exp to float types.

Required Methods§

fn fastexp(&self) -> V

Implementations on Foreign Types§

§

impl FastExp<f64> for f64

§

fn fastexp(&self) -> f64

Fast approximation of exp() as shown by Kopczynski 2017: https://eldorado.tu-dortmund.de/bitstream/2003/36203/1/Dissertation_Kopczynski.pdf

Implementors§