summaryrefslogtreecommitdiff
path: root/lib/libm/atanhf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/atanhf.c')
-rw-r--r--lib/libm/atanhf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libm/atanhf.c b/lib/libm/atanhf.c
index d1026974..b4591890 100644
--- a/lib/libm/atanhf.c
+++ b/lib/libm/atanhf.c
@@ -1,4 +1,7 @@
-#include "libm.h"
+#include "libm.h" // for FORCE_EVAL
+
+#include <math.h> // for log1pf, atanhf, float_t
+#include <stdint.h> // for uint32_t
/* atanh(x) = log((1+x)/(1-x))/2 = log1p(2x/(1-x))/2 ~= x + x^3/3 + o(x^5) */
float atanhf(float x)