pub trait ExpM1 {
// Required method
fn kernel_exp_m1(self) -> Self;
}
Required Methods§
Sourcefn kernel_exp_m1(self) -> Self
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
impl ExpM1 for f64
Source§fn kernel_exp_m1(self) -> Self
fn kernel_exp_m1(self) -> Self
Returns `e^(self) - 1`` in a way that is accurate even if the number is close to zero.