pub trait Exponential { fn exp(&self) -> Self; fn exp2(&self) -> Self; fn ln(&self) -> Self; fn log(&self, base: &Self) -> Self; fn log2(&self) -> Self; fn log10(&self) -> Self; }
fn exp(&self) -> Self
fn exp2(&self) -> Self
fn ln(&self) -> Self
fn log(&self, base: &Self) -> Self
fn log2(&self) -> Self
fn log10(&self) -> Self
impl Exponential for float
impl Exponential for f32
impl Exponential for f64
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).