math.Log
Returns the natural logarithm of the given number.
- Syntax
- math.Log VALUE
- Returns
- float64
Usage
The math.Log function returns the natural logarithm of the given number.
Examples
{{ math.Log 1 }} → 0
{{ math.Log 42 }} → 3.7376696182833684Last updated:
October 21, 2026
:
content: Apply style guide to math functions (658ef2b60)
Improve this page