The EXP function returns a value that is the base of the natural logarithm (e) raised to a power specified by the argument. The EXP and LN functions are inverse operations.
If the data type of the argument is DECFLOAT(n), the result is DECFLOAT(n). Otherwise, the data type of the result is double-precision floating point. If the argument can be null, the result can be null; if the argument is null, the result is the null value.
Results involving
DECFLOAT special values: For decimal floating-point values the
special values are treated as follows:
SELECT EXP(:E) FROM SYSIBM.SYSDUMMY1Returns the approximate value 31.62.