Syntax
Parameters
Return Type
DOUBLE PRECISION
Remarks
EXP(NULL)returnsNULL.EXP('NaN')returnsNaN.EXP('Infinity')returnsInfinity.EXP('-Infinity')returns0.- If the result would overflow or underflow the
DOUBLE PRECISIONrange, an error is raised. To check whether a value is finite before callingEXP, useIS_FINITE. NUMERICarguments are not accepted; cast them explicitly toDOUBLE PRECISIONfirst.
Example
The following example raises e to the power of2:
Rows: 1Execution time: 2.19ms
Rows: 1Execution time: 4ms