summaryrefslogtreecommitdiff
path: root/lib/libm/roundf.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/roundf.c
parent4e2112e165fdd94dee58378e3ea32892f3710cd7 (diff)
feat: clang-tidy fixes
Diffstat (limited to 'lib/libm/roundf.c')
-rw-r--r--lib/libm/roundf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libm/roundf.c b/lib/libm/roundf.c
index fef6a24b..3df4c83b 100644
--- a/lib/libm/roundf.c
+++ b/lib/libm/roundf.c
@@ -1,4 +1,8 @@
-#include "libm.h"
+#include "libm.h" // for FORCE_EVAL
+
+#include <float.h> // for FLT_EPSILON, FLT_EVAL_METHOD
+#include <math.h> // for float_t, roundf
+#include <stdint.h> // for uint32_t
#if FLT_EVAL_METHOD == 0
#define EPS FLT_EPSILON