REBOL Document

Exp - Function Summary


Summary:

Raises E (natural number) to the power specified.

Usage:

exp power

Arguments:

power - The power argument. (must be: number)

Description:

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


    print exp 3
    20.0855369231877

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

Related:

log-10 - Returns the base-10 logarithm.
log-2 - Return the base-2 logarithm.
log-e - Returns the base-E (natural number) logarithm.
power - Returns the first number raised to the second number.


<Back | Index | Next>

Copyright 2004 REBOL Technologies