[libmath-prime-util-perl] 01/05: logl -> log
Partha P. Mukherjee
ppm-guest at moszumanska.debian.org
Thu May 21 18:52:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
ppm-guest pushed a commit to annotated tag v0.39
in repository libmath-prime-util-perl.
commit b098e7d611b1d2a61de0342ad047939009e9c65c
Author: Dana Jacobsen <dana at acm.org>
Date: Fri Feb 28 23:41:36 2014 -0800
logl -> log
---
aks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aks.c b/aks.c
index 4154a8b..8e0dd20 100644
--- a/aks.c
+++ b/aks.c
@@ -70,7 +70,7 @@ static double log_gamma(double x)
for (i = 8; i >= 1; i--)
sum += lanczos_coef[i] / (x + (double)i);
sum += lanczos_coef[0];
- sum = log_sqrt_two_pi + logl(sum/x) + ( (x+0.5)*logl(base) - base );
+ sum = log_sqrt_two_pi + log(sum/x) + ( (x+0.5)*log(base) - base );
return sum;
}
#undef lgamma
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git
More information about the Pkg-perl-cvs-commits
mailing list