mathLog

Returns the natural logarithm (base e) of the value. Takes value (number). Returns the natural logarithm.

Mathematics

Parameters & Returns

Parameters

value Double

Returns

Double

Quick Summary

Returns the natural logarithm (base e) of the value. Takes value (number). Returns the natural logarithm.

Technical Exegesis...

Calculates the natural logarithm (ln) of the input value. This is the inverse of mathExp.

Input value must be greater than 0. Returns 0 if the value is zero or negative (safety check). Commonly used in logarithmic scaling, information theory, and solving exponential equations.

Example

Example.bam
; No example implemented yet