Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/mathfp/er_gamma.c')
-rw-r--r--newlib/libm/mathfp/er_gamma.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/newlib/libm/mathfp/er_gamma.c b/newlib/libm/mathfp/er_gamma.c
index 0060ed031..6246c880b 100644
--- a/newlib/libm/mathfp/er_gamma.c
+++ b/newlib/libm/mathfp/er_gamma.c
@@ -28,10 +28,5 @@
double x; int *signgamp;
#endif
{
- return exp (lgamma_r(x,signgamp));
-}
-
-double gamma(double x)
-{
- return gamma_r(x, &(_REENT_SIGNGAM(_REENT)));
+ return lgamma_r(x,signgamp);
}