summaryrefslogtreecommitdiff
path: root/src/math/modf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/modf.c')
-rw-r--r--src/math/modf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/math/modf.c b/src/math/modf.c
index 63db6094..a9331317 100644
--- a/src/math/modf.c
+++ b/src/math/modf.c
@@ -1,9 +1,10 @@
# define TGSOURCE "modf.c"
+#include <errno.h>
#include <math.h>
#include "_tgmath.h"
-#include "errno.h"
/** decompose floating-point numbers **/
+
TYPE TGFN(modf)(TYPE value, TYPE *iptr)
{
switch (fpclassify(value)) {
@@ -32,7 +33,5 @@ by ARGUMENT(iptr).
/*
IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL))
LINK(m)
-*/
-/*
STDC(1)
*/