From a984eb367c032dbe2577f01238c3d1268526be70 Mon Sep 17 00:00:00 2001 From: Kacper Date: Thu, 25 Dec 2025 19:24:38 +0100 Subject: Clang-tidy fixes --- lib/libm/sin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/libm/sin.c') diff --git a/lib/libm/sin.c b/lib/libm/sin.c index 4eff1001..24be2599 100644 --- a/lib/libm/sin.c +++ b/lib/libm/sin.c @@ -59,8 +59,7 @@ double sin(double x) if (ix <= 0x3fe921fb) { if (ix < 0x3e500000) { /* |x| < 2**-26 */ /* raise inexact if x != 0 and underflow if subnormal*/ - FORCE_EVAL(ix < 0x00100000 ? x / 0x1p120f : - x + 0x1p120f); + FORCE_EVAL(ix < 0x00100000 ? x / 0x1p120f : x + 0x1p120f); return x; } return __sin(x, 0.0, 0); -- cgit v1.2.3