summaryrefslogtreecommitdiff
path: root/src/math/frexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/frexp.c')
-rw-r--r--src/math/frexp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/math/frexp.c b/src/math/frexp.c
index b60dadc5..04579dff 100644
--- a/src/math/frexp.c
+++ b/src/math/frexp.c
@@ -1,9 +1,10 @@
# define TGSOURCE "frexp.c"
+#include <errno.h>
#include <math.h>
#include "_tgmath.h"
-#include "errno.h"
/** extract mantissa and exponent **/
+
TYPE TGFN(frexp)(TYPE value, int *exp)
{
switch (fpclassify(value)) {
@@ -40,7 +41,5 @@ Multiplying the normalized fraction by 2 to the power ARGUMENT(*exp).
/*
IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL))
LINK(m)
-*/
-/*
STDC(1)
*/