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

REBOL 3 Functions: exp

exp  power

Raises E (natural number) to the power specified.

Arguments:

power [number!]

See also:

log-10   log-2   log-e   power  

Description

The exp function returns the exponential value of the argument provided.

print exp 3
20.08553692318766

On overflow, an error is returned (which can be trapped with the try function). On underflow, a 0 is returned.


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