summaryrefslogtreecommitdiff
path: root/lib/libm/atan.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/atan.c
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'lib/libm/atan.c')
-rw-r--r--lib/libm/atan.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libm/atan.c b/lib/libm/atan.c
index 36d10d73..2346d21c 100644
--- a/lib/libm/atan.c
+++ b/lib/libm/atan.c
@@ -109,9 +109,7 @@ double atan(double x)
z = x * x;
w = z * z;
/* break sum from i=0 to 10 aT[i]z**(i+1) into odd and even poly */
- s1 = z * (aT[0] +
- w * (aT[2] +
- w * (aT[4] + w * (aT[6] + w * (aT[8] + w * aT[10])))));
+ s1 = z * (aT[0] + w * (aT[2] + w * (aT[4] + w * (aT[6] + w * (aT[8] + w * aT[10])))));
s2 = w * (aT[1] + w * (aT[3] + w * (aT[5] + w * (aT[7] + w * aT[9]))));
if (id < 0)
return x - x * (s1 + s2);