aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-09-08 16:24:17 +0200
committerSzabolcs Nagy <nsz@port70.net>2014-09-08 16:24:17 +0200
commite6403887ccf172974d2da5304c3e4043ebad41d2 (patch)
tree36f4b50191ca76dc3d4eb9a60b61890e0537088e
parentprune math code on archs with binary64 long double (diff)
downloadgrovel-e6403887ccf172974d2da5304c3e4043ebad41d2.tar.gz
grovel-e6403887ccf172974d2da5304c3e4043ebad41d2.tar.xz
fix exp10l.c to include float.h
the previous commit was a no op in exp10l because LDBL_* macros were implicitly 0 (the preprocessor does not warn about undefined symbols).
-rw-r--r--src/math/exp10l.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/exp10l.c b/src/math/exp10l.c
index 33abc8b5..4f9469ae 100644
--- a/src/math/exp10l.c
+++ b/src/math/exp10l.c
@@ -1,4 +1,5 @@
#define _GNU_SOURCE
+#include <float.h>
#include <math.h>
#include "libc.h"