c/numeric/math/erf

@1-3@ Computes the {{enwiki}Error function|error function}} of. @4@ Type-generic macro: If has type,  is called. Otherwise, if has integer type or the type,  is called. Otherwise, is called.

Return value
If no errors occur, value of the error function of, that is , is returned.

If a range error occurs due to underflow, the correct result (after rounding), that is, 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, ±0 is returned
 * If the argument is ±∞, ±1 is returned
 * If the argument is NaN, NaN is returned