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/erf_gamma.c')
-rw-r--r--newlib/libm/mathfp/erf_gamma.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/newlib/libm/mathfp/erf_gamma.c b/newlib/libm/mathfp/erf_gamma.c
index 246645d25..96e8c46ab 100644
--- a/newlib/libm/mathfp/erf_gamma.c
+++ b/newlib/libm/mathfp/erf_gamma.c
@@ -16,7 +16,7 @@
/* gammaf_r(x, signgamp)
* Reentrant version of the logarithm of the Gamma function
- * with user provided pointer for the sign of Gamma(x).
+ * with user provide pointer for the sign of Gamma(x).
*
* Method: See lgammaf_r
*/
@@ -30,10 +30,5 @@
float x; int *signgamp;
#endif
{
- return expf (lgammaf_r(x,signgamp));
-}
-
-float gammaf(float x)
-{
- return gammaf_r(x, &(_REENT_SIGNGAM(_REENT)));
+ return lgammaf_r(x,signgamp);
}