exp / ln / log2 / log10

pub fn exp(self: single) -> single

Raises E (2.71828…) to the power v. Use for exponential growth models.

pub fn exp(self: float) -> float

Double-precision exp (e^v).

pub fn ln(self: single) -> single?

Natural logarithm (base E). Use for growth rates and information entropy.

pub fn ln(self: float) -> float?

Double-precision natural logarithm.

pub fn log2(self: single) -> single?

Base-2 logarithm. Use for bit-count calculations and information theory.

pub fn log2(self: float) -> float?

Double-precision base-2 logarithm.

pub fn log10(self: single) -> single?

Base-10 logarithm. Use for decibels, orders of magnitude, and display scales.

pub fn log10(self: float) -> float?

Double-precision base-10 logarithm.