diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 23:14:53 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 23:14:53 +0100 |
| commit | 169daa11155988a210fac949297381743f3cb400 (patch) | |
| tree | 602ef5df5ae9ea075ab3d5dac3c8ad60da1ea2cc /lib/libm/log10l.c | |
| parent | 4e2112e165fdd94dee58378e3ea32892f3710cd7 (diff) | |
feat: clang-tidy fixes
Diffstat (limited to 'lib/libm/log10l.c')
| -rw-r--r-- | lib/libm/log10l.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libm/log10l.c b/lib/libm/log10l.c index f8546cdb..d462308f 100644 --- a/lib/libm/log10l.c +++ b/lib/libm/log10l.c @@ -57,7 +57,10 @@ * log domain: x < 0; returns MINLOG */ -#include "libm.h" +#include "libm.h" // for __p1evll, __polevll + +#include <float.h> // for LDBL_MANT_DIG, LDBL_MAX_EXP +#include <math.h> // for INFINITY, frexpl, log10l, isnan #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 long double log10l(long double x) @@ -102,10 +105,10 @@ static const long double S[4] = { }; /* log10(2) */ #define L102A 0.3125L -#define L102B -1.1470004336018804786261e-2L +#define L102B (-1.1470004336018804786261e-2L) /* log10(e) */ #define L10EA 0.5L -#define L10EB -6.5705518096748172348871e-2L +#define L10EB (-6.5705518096748172348871e-2L) #define SQRTH 0.70710678118654752440L |
