summaryrefslogtreecommitdiff
path: root/lib/libm/erf.c
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-09 23:14:53 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-09 23:14:53 +0100
commit169daa11155988a210fac949297381743f3cb400 (patch)
tree602ef5df5ae9ea075ab3d5dac3c8ad60da1ea2cc /lib/libm/erf.c
parent4e2112e165fdd94dee58378e3ea32892f3710cd7 (diff)
feat: clang-tidy fixes
Diffstat (limited to 'lib/libm/erf.c')
-rw-r--r--lib/libm/erf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libm/erf.c b/lib/libm/erf.c
index 4a096387..e95fb98c 100644
--- a/lib/libm/erf.c
+++ b/lib/libm/erf.c
@@ -103,7 +103,10 @@
* erfc/erf(NaN) is NaN
*/
-#include "libm.h"
+#include "libm.h" // for GET_HIGH_WORD, SET_LOW_WORD
+
+#include <math.h> // for double_t, exp, fabs, erf, erfc
+#include <stdint.h> // for uint32_t
static const double erx = 8.45062911510467529297e-01, /* 0x3FEB0AC1, 0x60000000
*/