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.

Arguments:

value [number!]

See also:

exp   log-10   log-2   power  

Description

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
7.118016204465333
print exp log-e 1234
1234.0


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin