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, the port is complete and correct. > > Slightly updated version, committed as Rev. 193037.
Thanks. > Jakub suggested to use a modified version of GLIBC's test-ldouble.c, > which I did. Before the patch, the result was (using the too strict > sysdeps/x86_64/fpu/libm-test-ulps): > > 5644 test cases plus 4809 tests for exception flags executed. > 815 errors occurred. > > With the GLIBC merge, it went down to 776 errors (and reduced ulp > for some tests) - and with the sqrtq/csqrtq patch, the failure > number went down to 708. 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. Jakub