summaryrefslogtreecommitdiff
path: root/lib/libm/exp10f.c
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /lib/libm/exp10f.c
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'lib/libm/exp10f.c')
-rw-r--r--lib/libm/exp10f.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libm/exp10f.c b/lib/libm/exp10f.c
index a9cde41d..d4e322b4 100644
--- a/lib/libm/exp10f.c
+++ b/lib/libm/exp10f.c
@@ -6,9 +6,8 @@
float exp10f(float x)
{
- static const float p10[] = { 1e-7f, 1e-6f, 1e-5f, 1e-4f, 1e-3f,
- 1e-2f, 1e-1f, 1, 1e1, 1e2,
- 1e3, 1e4, 1e5, 1e6, 1e7 };
+ static const float p10[] = { 1e-7f, 1e-6f, 1e-5f, 1e-4f, 1e-3f, 1e-2f, 1e-1f, 1,
+ 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7 };
float n, y = modff(x, &n);
union {
float f;