2 long double constants were missing L suffixes. This helped break tanl()

on !(amd64 || i386).  It gave slightly worse than double precision in some
cases.  tanl() now passes tests of 2^24 values on ia64.
This commit is contained in:
bde 2008-02-18 15:39:52 +00:00
parent 3fc58437c4
commit 3a3915219d

View File

@ -50,8 +50,8 @@ static const long double
T3 = 0.333333333333333333180L, /* 0xaaaaaaaaaaaaaaa5.0p-65 */
T5 = 0.133333333333333372290L, /* 0x88888888888893c3.0p-66 */
T7 = 0.0539682539682504975744L, /* 0xdd0dd0dd0dc13ba2.0p-68 */
pio4 = 0.785398163397448309628, /* 0xc90fdaa22168c235.0p-64 */
pio4lo = -1.25413940316708300586e-20; /* -0xece675d1fc8f8cbb.0p-130 */
pio4 = 0.785398163397448309628L, /* 0xc90fdaa22168c235.0p-64 */
pio4lo = -1.25413940316708300586e-20L; /* -0xece675d1fc8f8cbb.0p-130 */
#endif
static const double