EXP Function

Purpose

Returns the base of the natural logarithm raised to the specified power.

Syntax

EXP(x)

Parameters

x is an arithmetic expression.

Description

The EXP function returns the value of the base of the natural logarithm e raised to the power of x or e**x.

The result has the same data type as x.

Examples

EXP(2.0)  /* returns approximately 7.389056 */

Restrictions

An EXP operation on floating-point decimal data is actually performed using the floating-point binary operation. Thus, the range of the operands and the result of the operation are limited to the ranges for floating-point binary numbers.