cpp/numeric/complex/exp

Compute base-e exponential of, that is e (Euler's number, ) raised to the power.

Return value
If no errors occur, e raised to the power of, , is returned.

Error handling and special values
Errors are reported consistent with math_errhandling.

If the implementation supports IEEE floating-point arithmetic,
 * If is, the result is
 * If is  (for any finite x), the result is  and fe_invalid is raised.
 * If is  (for any finite x), the result is  and fe_invalid may be raised.
 * If is, the result is
 * If is  (for any finite y), the result is
 * If is  (for any finite nonzero y), the result is
 * If is, the result is  (signs are unspecified)
 * If is, the result is  and fe_invalid is raised (the sign of the real part is unspecified)
 * If is, the result is  (signs are unspecified)
 * If is, the result is  (the sign of the real part is unspecified)
 * If is, the result is
 * If is  (for any nonzero y), the result is  and fe_invalid may be raised
 * If is, the result is
 * If is, the result is

where is.