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/tanhf.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/libm/tanhf.c') diff --git a/lib/libm/tanhf.c b/lib/libm/tanhf.c index f4ae759d..d8ec3aa3 100644 --- a/lib/libm/tanhf.c +++ b/lib/libm/tanhf.c @@ -1,4 +1,7 @@ -#include "libm.h" +#include "libm.h" // for FORCE_EVAL + +#include // for expm1f, tanhf +#include // for uint32_t float tanhf(float x) { @@ -7,7 +10,7 @@ float tanhf(float x) uint32_t i; } u = { .f = x }; uint32_t w; - int sign; + uint32_t sign; float t; /* x = |x| */ -- cgit v1.2.3