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/nearbyintl.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/libm/nearbyintl.c') diff --git a/lib/libm/nearbyintl.c b/lib/libm/nearbyintl.c index 7d97b661..fc19d84b 100644 --- a/lib/libm/nearbyintl.c +++ b/lib/libm/nearbyintl.c @@ -1,5 +1,7 @@ -#include -#include + + +#include // for LDBL_MANT_DIG, LDBL_MAX_EXP +#include // for nearbyintl, rintl #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 long double nearbyintl(long double x) @@ -7,7 +9,8 @@ long double nearbyintl(long double x) return nearbyint(x); } #else -#include +#include // for feclearexcept, fetestexcept + long double nearbyintl(long double x) { #ifdef FE_INEXACT -- cgit v1.2.3