summaryrefslogtreecommitdiff
path: root/src/math/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/log.c')
-rw-r--r--src/math/log.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/math/log.c b/src/math/log.c
index abc29e4e..cb08aa98 100644
--- a/src/math/log.c
+++ b/src/math/log.c
@@ -1,10 +1,11 @@
# define TGSOURCE "log.c"
+#include <errno.h>
+#include <fenv.h>
#include <math.h>
#include "_tgmath.h"
-#include "errno.h"
-#include "fenv.h"
/** natural logarithm **/
+
TYPE TGFN(log)(TYPE x)
{
switch (fpclassify(x)) {
@@ -41,7 +42,5 @@ compute the natural logarithm of ARGUMENT(x).
/*
IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL))
LINK(m)
-*/
-/*
STDC(1)
*/