ExpM1

Trait ExpM1 

Source
pub trait ExpM1 {
    // Required method
    fn kernel_exp_m1(self) -> Self;
}

Required Methods§

Source

fn kernel_exp_m1(self) -> Self

Returns `e^(self) - 1`` in a way that is accurate even if the number is close to zero.

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 ExpM1 for f64

Source§

fn kernel_exp_m1(self) -> Self

Returns `e^(self) - 1`` in a way that is accurate even if the number is close to zero.

Implementors§