summaryrefslogtreecommitdiff
path: root/src/math/ldexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/ldexp.c')
-rw-r--r--src/math/ldexp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/math/ldexp.c b/src/math/ldexp.c
index 33e2f381..c56fe405 100644
--- a/src/math/ldexp.c
+++ b/src/math/ldexp.c
@@ -1,9 +1,10 @@
# define TGSOURCE "ldexp.c"
+#include <errno.h>
#include <math.h>
#include "_tgmath.h"
-#include "errno.h"
/** multiply by a power of 2 **/
+
TYPE TGFN(ldexp)(TYPE x, int exp)
{
switch (fpclassify(x)) {
@@ -34,7 +35,5 @@ by 2 raised to the power ARGUMENT(exp).
/*
IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL))
LINK(m)
-*/
-/*
STDC(1)
*/