summaryrefslogtreecommitdiff
path: root/lib/libm/frexpf.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/frexpf.c
parent4e2112e165fdd94dee58378e3ea32892f3710cd7 (diff)
feat: clang-tidy fixes
Diffstat (limited to 'lib/libm/frexpf.c')
-rw-r--r--lib/libm/frexpf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libm/frexpf.c b/lib/libm/frexpf.c
index 711129fb..9eb91c21 100644
--- a/lib/libm/frexpf.c
+++ b/lib/libm/frexpf.c
@@ -1,5 +1,5 @@
-#include <math.h>
-#include <stdint.h>
+#include <math.h> // for frexpf
+#include <stdint.h> // for uint32_t
float frexpf(float x, int *e)
{
@@ -16,7 +16,8 @@ float frexpf(float x, int *e)
} else
*e = 0;
return x;
- } else if (ee == 0xff) {
+ }
+ if (ee == 0xff) {
return x;
}