EXP Function

Returns the value of the exponential function.

Category: Mathematical

Syntax

EXP(argument)

Required Argument

argument

specifies a numeric constant, variable, or expression. For more information, see Definitions for SAS Expressions in SAS Language Reference: Concepts.

Details

The EXP function raises the constant e, which is approximately 2.71828, to the power that is supplied by the argument. The result is limited by the maximum value of a floating-point value on the computer.

Example

The following SAS statements produce these results.
SAS Statement
Result
x=exp(1.0);
2.7182818285
x=exp(0);
1

See Also

SAS Language Reference: Concepts
Arithmetic Operators in SAS Language Reference: Concepts