c/numeric/math/fabs

@1-6@ Computes the absolute value of a floating point value.

@7@ Type-generic macro: If the argument has type, , or , , , or is called, respectively. Otherwise, if the argument has integer type, is called. Otherwise, if the argument is complex, then the macro invokes the corresponding complex function (cabsf, cabs, cabsl). Otherwise, the behavior is undefined.

Return value
If successful, returns the absolute value of. The value returned is exact and does not depend on any rounding modes.

Error handling
This function is not subject to any of the error conditions specified in.

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