summaryrefslogtreecommitdiff
path: root/src/math/ceil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/ceil.c')
-rw-r--r--src/math/ceil.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/math/ceil.c b/src/math/ceil.c
index d90ba15f..34a93fe3 100644
--- a/src/math/ceil.c
+++ b/src/math/ceil.c
@@ -1,9 +1,10 @@
# define TGSOURCE "ceil.c"
+#include <errno.h>
#include <math.h>
#include "_tgmath.h"
-#include "errno.h"
/** round up to nearest integer **/
+
TYPE TGFN(ceil)(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)
*/