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/tan.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/libm/tan.c') diff --git a/lib/libm/tan.c b/lib/libm/tan.c index 5f37becc..aa3015b5 100644 --- a/lib/libm/tan.c +++ b/lib/libm/tan.c @@ -57,8 +57,7 @@ double tan(double x) if (ix <= 0x3fe921fb) { if (ix < 0x3e400000) { /* |x| < 2**-27 */ /* 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 __tan(x, 0.0, 0); -- cgit v1.2.3