summaryrefslogtreecommitdiff
path: root/lib/libm/tgamma.c
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /lib/libm/tgamma.c
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'lib/libm/tgamma.c')
-rw-r--r--lib/libm/tgamma.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/lib/libm/tgamma.c b/lib/libm/tgamma.c
index 69759fd8..b72ede42 100644
--- a/lib/libm/tgamma.c
+++ b/lib/libm/tgamma.c
@@ -62,23 +62,16 @@ static double sinpi(double x)
// static const double g = 6.024680040776729583740234375;
static const double gmhalf = 5.524680040776729583740234375;
static const double Snum[N + 1] = {
- 23531376880.410759688572007674451636754734846804940,
- 42919803642.649098768957899047001988850926355848959,
- 35711959237.355668049440185451547166705960488635843,
- 17921034426.037209699919755754458931112671403265390,
- 6039542586.3520280050642916443072979210699388420708,
- 1439720407.3117216736632230727949123939715485786772,
- 248874557.86205415651146038641322942321632125127801,
- 31426415.585400194380614231628318205362874684987640,
- 2876370.6289353724412254090516208496135991145378768,
- 186056.26539522349504029498971604569928220784236328,
- 8071.6720023658162106380029022722506138218516325024,
- 210.82427775157934587250973392071336271166969580291,
+ 23531376880.410759688572007674451636754734846804940, 42919803642.649098768957899047001988850926355848959,
+ 35711959237.355668049440185451547166705960488635843, 17921034426.037209699919755754458931112671403265390,
+ 6039542586.3520280050642916443072979210699388420708, 1439720407.3117216736632230727949123939715485786772,
+ 248874557.86205415651146038641322942321632125127801, 31426415.585400194380614231628318205362874684987640,
+ 2876370.6289353724412254090516208496135991145378768, 186056.26539522349504029498971604569928220784236328,
+ 8071.6720023658162106380029022722506138218516325024, 210.82427775157934587250973392071336271166969580291,
2.5066282746310002701649081771338373386264310793408,
};
static const double Sden[N + 1] = {
- 0, 39916800, 120543840, 150917976, 105258076, 45995730, 13339535,
- 2637558, 357423, 32670, 1925, 66, 1,
+ 0, 39916800, 120543840, 150917976, 105258076, 45995730, 13339535, 2637558, 357423, 32670, 1925, 66, 1,
};
/* n! for small integer n */
static const double fact[] = {