diff options
Diffstat (limited to 'src/math/floor.c')
-rw-r--r-- | src/math/floor.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/math/floor.c b/src/math/floor.c index 41350fe8..e2d2093a 100644 --- a/src/math/floor.c +++ b/src/math/floor.c @@ -1,9 +1,10 @@ # define TGSOURCE "floor.c" +#include <errno.h> #include <math.h> #include "_tgmath.h" -#include "errno.h" /** round down to nearest integer **/ + TYPE TGFN(floor)(TYPE x) { switch (fpclassify(x)) { @@ -30,7 +31,5 @@ than ARGUMENT(x), returning it as the same floating-point type as ARGUMENT(x). /* IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) -*/ -/* STDC(1) */ |