From 3a3915219d83d42be2d798d256573100bd7dabab Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 18 Feb 2008 15:39:52 +0000 Subject: [PATCH] 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. --- lib/msun/ld80/k_tanl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/msun/ld80/k_tanl.c b/lib/msun/ld80/k_tanl.c index 179033ed69af..80ceef61f1c4 100644 --- a/lib/msun/ld80/k_tanl.c +++ b/lib/msun/ld80/k_tanl.c @@ -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