123456789101112131415161718192021222324252627282930313233343536 | '\" t
.\" Copyright (c) 2026 Bruce Hill
.\" All rights reserved.
.\"
.TH Num.log 3 2026-08-27 "Tomo man-pages"
.SH NAME
Num.log \- natural logarithm
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Num.log\ :\ func(x:\ Num\ ->\ Num?)
.fi
.SH DESCRIPTION
The natural logarithm of a number.
.SH ARGUMENTS
.TS
allbox;
lb lb lbx
l l l.
Name Type Description
x Num The number whose logarithm is to be computed.
.TE
.SH RETURN
The natural log of `x`, or `none` if `x` is not positive.
.SH EXAMPLES
.EX
assert (1.).log()! == 0
assert (0.).log() == none
.EE
.SH SEE ALSO
.BR Tomo-Num (3)
|