c/numeric/math/exp

@1-3@ Computes the e (Euler's number, ) raised to the given power. @4@ Type-generic macro: If has type,  is called. Otherwise, if has integer type or the type,  is called. Otherwise, is called. If is complex or imaginary, then the macro invokes the corresponding complex function.

Return value
If no errors occur, the base-e exponential of ($earg$) is returned.

If a range error due to overflow occurs, huge_val,, or is returned.

If a range error occurs due to underflow, the correct result (after rounding) is returned.

Error handling
Errors are reported as specified in.

If the implementation supports IEEE floating-point arithmetic (IEC 60559),
 * If the argument is ±0, 1 is returned
 * If the argument is -∞, +0 is returned
 * If the argument is +∞, +∞ is returned
 * If the argument is NaN, NaN is returned