summaryrefslogtreecommitdiffstats
path: root/libm/e_lgamma_r.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-29 16:03:34 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-29 16:03:34 +0000
commite422845f587db4139bd72fd3ae827ae91420855a (patch)
tree60bd277e48b51b5273629a646e4f5d5d226e2f19 /libm/e_lgamma_r.c
parentd4f94ef391e602b6c2df453283ab2aeca1905eb2 (diff)
downloaduClibc-alpine-e422845f587db4139bd72fd3ae827ae91420855a.tar.bz2
uClibc-alpine-e422845f587db4139bd72fd3ae827ae91420855a.tar.xz
libm/e_lgamma_r.c: cosmetic whitespace fixes
Diffstat (limited to 'libm/e_lgamma_r.c')
-rw-r--r--libm/e_lgamma_r.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libm/e_lgamma_r.c b/libm/e_lgamma_r.c
index 075fdc4f0..55f656638 100644
--- a/libm/e_lgamma_r.c
+++ b/libm/e_lgamma_r.c
@@ -197,7 +197,6 @@ double sin_pi(double x)
return -y;
}
-
double attribute_hidden __ieee754_lgamma_r(double x, int *signgamp)
{
double t,y,z,nadj=0,p,p1,p2,p3,q,r,w;
@@ -342,7 +341,6 @@ strong_alias(__ieee754_lgamma, lgamma);
libm_hidden_def(lgamma)
-
/* NB: gamma function is an old name for lgamma.
* It is deprecated.
* Some C math libraries redefine it as a "true gamma", i.e.,
@@ -358,7 +356,6 @@ strong_alias(__ieee754_lgamma, gamma)
#endif
-
// FIXME! Looks like someone just used __ieee754_gamma_r,
// believing it's a "true" gamma function, but it was not!
// Our tgamma is WRONG.
@@ -368,7 +365,7 @@ strong_alias(__ieee754_lgamma, gamma)
*/
double tgamma(double x)
{
- double y;
+ double y;
int local_signgam;
y = __ieee754_lgamma_r(x, &local_signgam); // was __ieee754_gamma_r