summaryrefslogtreecommitdiff
path: root/src/math/modf.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-16 14:00:51 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-16 14:00:51 -0400
commit896e28812c51b9ffdf3efc00c7d7ef699e380a58 (patch)
treeaaa25e093fb4a2ac4c57609e1f745e5ac0734ca8 /src/math/modf.c
parent0b0d1fe1d4fbf8560577d81e5af0549683eac8ba (diff)
formatting
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)
*/