diff options
author | bde <bde@FreeBSD.org> | 2008-02-18 15:39:52 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2008-02-18 15:39:52 +0000 |
commit | 3a3915219d83d42be2d798d256573100bd7dabab (patch) | |
tree | 6055a278038a8f90985d10d19ae3e2af4506eea3 /lib | |
parent | 3fc58437c4d05c6bbba375377e778d77d7f3db21 (diff) | |
download | FreeBSD-src-3a3915219d83d42be2d798d256573100bd7dabab.zip FreeBSD-src-3a3915219d83d42be2d798d256573100bd7dabab.tar.gz |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/msun/ld80/k_tanl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/msun/ld80/k_tanl.c b/lib/msun/ld80/k_tanl.c index 179033e..80ceef6 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 |