1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/lib/msun/ld80
David Schultz 1192a80ed1 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
2008-08-02 03:56:22 +00:00
..
invtrig.c Add implementations of acosl(), asinl(), atanl(), atan2l(), 2008-07-31 22:41:26 +00:00
invtrig.h On i386, gcc truncates long double constants to double precision 2008-08-02 03:56:22 +00:00
k_cosl.c Add kernel functions for 80-bit long doubles. Many thanks to Steve and 2008-02-17 07:32:14 +00:00
k_sinl.c Add kernel functions for 80-bit long doubles. Many thanks to Steve and 2008-02-17 07:32:14 +00:00
k_tanl.c 2 long double constants were missing L suffixes. This helped break tanl() 2008-02-18 15:39:52 +00:00
s_exp2l.c Fix exp2*(x) on signaling NaNs by returning x+x as usual. 2008-02-13 10:44:44 +00:00
s_nanl.c