From 169daa11155988a210fac949297381743f3cb400 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 9 Dec 2025 23:14:53 +0100 Subject: feat: clang-tidy fixes --- lib/libm/frexpl.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib/libm/frexpl.c') diff --git a/lib/libm/frexpl.c b/lib/libm/frexpl.c index 102ade25..e3a32c06 100644 --- a/lib/libm/frexpl.c +++ b/lib/libm/frexpl.c @@ -1,4 +1,7 @@ -#include "libm.h" +#include "libm.h" // for ldshape, ldshape::(anonymous) + +#include // for LDBL_MANT_DIG, LDBL_MAX_EXP +#include // for frexpl #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 long double frexpl(long double x, int *e) @@ -18,7 +21,8 @@ long double frexpl(long double x, int *e) } else *e = 0; return x; - } else if (ee == 0x7fff) { + } + if (ee == 0x7fff) { return x; } -- cgit v1.2.3