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/exp.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/libm/exp.c') diff --git a/lib/libm/exp.c b/lib/libm/exp.c index cbcd7623..088a0cbb 100644 --- a/lib/libm/exp.c +++ b/lib/libm/exp.c @@ -5,10 +5,11 @@ * SPDX-License-Identifier: MIT */ -#include -#include -#include "libm.h" -#include "exp_data.h" +#include "exp_data.h" // for __exp_data, exp_data, EXP_POLY_ORDER, EXP_TABL... +#include "libm.h" // for eval_as_double, asuint64, asdouble, WANT_ROUNDING + +#include // for double_t, INFINITY, exp +#include // for uint64_t, uint32_t #define N (1 << EXP_TABLE_BITS) #define InvLn2N __exp_data.invln2N @@ -91,8 +92,7 @@ double exp(double x) return 1.0 + x; if (asuint64(x) >> 63) return __math_uflow(0); - else - return __math_oflow(0); + return __math_oflow(0); } /* Large x is special cased below. */ abstop = 0; -- cgit v1.2.3