summaryrefslogtreecommitdiff
path: root/lib/libm/tanf.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/tanf.c
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'lib/libm/tanf.c')
-rw-r--r--lib/libm/tanf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libm/tanf.c b/lib/libm/tanf.c
index f005908f..9de9ee57 100644
--- a/lib/libm/tanf.c
+++ b/lib/libm/tanf.c
@@ -39,8 +39,7 @@ float tanf(float x)
if (ix <= 0x3f490fda) { /* |x| ~<= pi/4 */
if (ix < 0x39800000) { /* |x| < 2**-12 */
/* raise inexact if x!=0 and underflow if subnormal */
- FORCE_EVAL(ix < 0x00800000 ? x / 0x1p120f :
- x + 0x1p120f);
+ FORCE_EVAL(ix < 0x00800000 ? x / 0x1p120f : x + 0x1p120f);
return x;
}
return __tandf(x, 0);