Algosim documentation: log

log

The base-10 logarithm function.

Syntax

Description

Image 1

For real positive x, log(x) is the base-10 logarithm of x, that is, the unique solution y to 10^y = x.

The real identity log(x) = ln(x)/ln(10) leads to the natural generalisation

log(z) = ln(z)/ln(10)

for all non-zero complex z.

Examples

log(1000)
3
log(3.5⋅10^−20)
−19.4559319556
log(−1)
1.36437635384⋅i
log(i)
0.682188176921⋅i

See also