REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: log-e

log-e  value

Returns the base-E (natural number) logarithm.


value [number!]

See also:

exp   log-10   log-2   power  


The LOG-E function returns the natural logarithm of the number provided. The argument must be a positive value, otherwise an error will occur (which can be trapped with the TRY function).

print log-e 1234
print exp log-e 1234

  TOC < Back Next > - WIP Wiki Feedback Admin