Fix lgamma_r/lgammaf_r/lgammal_r for -0.

Upstream has implemented lgammal/lgammal_r for ld128, and fixed the
sign problem we reported with all the lgamma*_r functions and -0.

Bug: 17471883
Change-Id: Ibb175d9cab67efae75f1010796fd44c9ba6ce4fc
This commit is contained in:
Elliott Hughes
2014-09-18 11:23:58 -07:00
parent 82e71085c2
commit 755318548d
9 changed files with 511 additions and 102 deletions

View File

@@ -459,9 +459,12 @@ long double tanhl(long double);
long double tanl(long double);
long double tgammal(long double);
long double truncl(long double);
#endif /* __ISO_C_VISIBLE >= 1999 */
#if __BSD_VISIBLE
long double lgammal_r(long double, int *);
#endif
#if defined(__USE_GNU)
void sincos(double, double*, double*);
void sincosf(float, float*, float*);