Re: [Patch] Update libquadmath from GLIBC

2012-10-31 Thread Joseph S. Myers
On Wed, 31 Oct 2012, Tobias Burnus wrote: > Jakub Jelinek: > > I think it would be nice if you also posted the changes you did to > > test-ldouble.c and libm-test.inc, so that next time we could more easily > > test it again. > > See attachment. (I didn't do it properly at first, thus, I had to p

Re: [Patch] Update libquadmath from GLIBC

2012-10-31 Thread Joseph S. Myers
On Wed, 31 Oct 2012, Tobias Burnus wrote: > Tobias Burnus wrote: > > libquadmath's math functions are based on (but not identical to) GLIBC's > > sysdeps/ieee754/ldbl-128 functions. In the attached patch, I have ported the > > bug fixes from GLIBC over to libquadmath. Hopefully, the port is comple

Re: [Patch] Update libquadmath from GLIBC

2012-10-31 Thread Andreas Schwab
Tobias Burnus writes: > diff --git a/math/libm-test.inc b/math/libm-test.inc > index 1e067fe..81b40b6 100644 > --- a/math/libm-test.inc > +++ b/math/libm-test.inc > @@ -226,5 +226,5 @@ static FLOAT max_error, real_max_error, imag_max_error; > > #define BUILD_COMPLEX(real, imag) \ > - ({ __com

Re: [Patch] Update libquadmath from GLIBC

2012-10-31 Thread Tobias Burnus
Jakub Jelinek: I think it would be nice if you also posted the changes you did to test-ldouble.c and libm-test.inc, so that next time we could more easily test it again. See attachment. (I didn't do it properly at first, thus, I had to propagate the changes to the right files …) Tobias /* C

Re: [Patch] Update libquadmath from GLIBC

2012-10-31 Thread Jakub Jelinek
On Wed, Oct 31, 2012 at 04:52:19PM +0100, Tobias Burnus wrote: > Tobias Burnus wrote: > >libquadmath's math functions are based on (but not identical to) > >GLIBC's sysdeps/ieee754/ldbl-128 functions. In the attached patch, > >I have ported the bug fixes from GLIBC over to libquadmath. > >Hopefully

Re: [Patch] Update libquadmath from GLIBC

2012-10-31 Thread Tobias Burnus
Tobias Burnus wrote: libquadmath's math functions are based on (but not identical to) GLIBC's sysdeps/ieee754/ldbl-128 functions. In the attached patch, I have ported the bug fixes from GLIBC over to libquadmath. Hopefully, the port is complete and correct. Slightly updated version, committed

Re: [Patch] Update libquadmath from GLIBC

2012-10-31 Thread Richard Biener
On Wed, Oct 31, 2012 at 1:06 PM, Tobias Burnus wrote: > Hi all, > > libquadmath's math functions are based on (but not identical to) GLIBC's > sysdeps/ieee754/ldbl-128 functions. Heh, last time I copied things from sysdeps/ieee754 into GCC rms objected and I had to revert ... (libgccmath). Richa