Date: Sat, 2 Aug 2008 03:56:22 +0000 (UTC) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/msun/i387 invtrig.c src/lib/msun/ld80 invtrig.h src/lib/msun/src e_acosl.c e_atan2l.c Message-ID: <200808020356.m723uYVZ029647@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2008-08-02 03:56:22 UTC FreeBSD src repository Modified files: lib/msun/ld80 invtrig.h lib/msun/src e_acosl.c e_atan2l.c Added files: lib/msun/i387 invtrig.c Log: SVN rev 181152 on 2008-08-02 03:56:22Z by das On i386, gcc truncates long double constants to double precision at compile time regardless of the dynamic precision, and there's no way to disable this misfeature at compile time. Hence, it's impossible to generate the appropriate tables of constants for the long double inverse trig functions in a straightforward way on i386; this change hacks around the problem by encoding the underlying bits in the table. Note that these functions won't pass the regression test on i386, even with the FPU set to extended precision, because the regression test is similarly damaged by gcc. However, the tests all pass when compiled with a modified version of gcc. Reported by: bde Revision Changes Path 1.1 +86 -0 src/lib/msun/i387/invtrig.c (new) 1.2 +17 -4 src/lib/msun/ld80/invtrig.h 1.2 +12 -2 src/lib/msun/src/e_acosl.c 1.2 +12 -2 src/lib/msun/src/e_atan2l.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808020356.m723uYVZ029647>