c/numeric/complex/cexp

@1-3@ Computes the complex base-e exponential of. @4@ Type-generic macro: If has type,  is called. if has type,  is called, if  has type ,  is called. If is real or integer, then the macro invokes the corresponding real function. If is imaginary, the corresponding complex argument version is called.

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

Error handling and special values
Errors are reported consistent with.

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