next up previous

12.5.2.10 Logarithm

Given n (the only argument) and the value e is the base of the natural system of logarithms, the log function returns the float value x such that the following equation is satisfied:

n = ex

Syntax

(log <numeric-expression>)

Example

CLIPS> (log 2.718281828459045)
0.9999999999999999
CLIPS>


next up previous