pub trait Ln {
// Required method
fn ln_(self) -> Self;
}
Expand description
This trait provides the interface for the natural logarithm function.
Required Methods§
Sourcefn ln_(self) -> Self
fn ln_(self) -> Self
Computes the natural logarithm of self
, rounding to the nearest.
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 Ln for f64
impl Ln for f64
Source§fn ln_(self) -> Self
fn ln_(self) -> Self
Computes the natural logarithm of self
, rounding to the nearest.
Source§impl Ln for Complex<f64>
impl Ln for Complex<f64>
Source§fn ln_(self) -> Self
fn ln_(self) -> Self
Computes the natural logarithm of self
, rounding to the nearest.