diff options
Diffstat (limited to 'src/math/fabs.c')
-rw-r--r-- | src/math/fabs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/math/fabs.c b/src/math/fabs.c index 5fc42750..5ee54286 100644 --- a/src/math/fabs.c +++ b/src/math/fabs.c @@ -1,9 +1,10 @@ # define TGSOURCE "fabs.c" +#include <errno.h> #include <math.h> #include "_tgmath.h" -#include "errno.h" /** absolute value **/ + TYPE TGFN(fabs)(TYPE x) { switch (fpclassify(x)) { @@ -29,7 +30,5 @@ compute the absolute value of a floating-point number ARGUMENT(x). /* IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) -*/ -/* STDC(1) */ |