Return e (Euler's number, 2.7182818) raised to the specified power x.

Synopsis

Declared in <bdldfp_decimalimputil.h>

Description

Special value handling: * If x is +/‐0, 1 is returned. * If x is negative infinity, +0 is returned. * If x is +infinity, +infinity is returned. * If x is quiet NaN, quiet NaN is returned. * If x is signaling NaN, quiet NaN is returned and the value of the macro EDOM is stored into errno. * If x is finite, but the result value is outside the range of the return type, store the value of the macro ERANGE into errno and +infinity value is returned.

Created with MrDocs