Function log
pub fn log(
span: Span,
value: Spanned<Num>,
base: Spanned<f64>,
) -> Result<f64, EcoVec<SourceDiagnostic>>
Expand description
Calculates the logarithm of a number.
If the base is not specified, the logarithm is calculated in base 10.
#calc.log(100)