Skip to main content

Ln

Trait Ln 

Source
pub trait Ln {
    // Required method
    fn ln(self) -> Self;
}
Expand description

Trait for getting the natural logarithm of self.

Required Methods§

Source

fn ln(self) -> Self

Returns the natural logarithm of self.

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 f32

Available on crate feature std, or non-crate feature libm only.
Source§

fn ln(self) -> f32

Source§

impl Ln for f64

Available on crate feature std, or non-crate feature libm only.
Source§

fn ln(self) -> f64

Implementors§