This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix for bz#13658 - using fsincos on x86-64
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha at sourceware dot org
- Date: Thu, 15 Mar 2012 15:55:40 +0100
- Subject: Re: Fix for bz#13658 - using fsincos on x86-64
- References: <4F343F56.3040402@suse.com>
Btw. the same bug in sin, cos and sincos hits us in tan as well:
On x86-64:
double:
x = 1e+22
s1 = -1.6287782256068988
float:
x = 9.9999997781963084e+21
s1 = -1.0810239315032959
long double:
x = 1e+22
s1 = -0.52180662513577755
And on x86:
double:
x = 1e+22
s1 = -0.52180662513577758
float:
x = 9.9999997781963084e+21
s1 = -0.29305437207221985
long double:
x = 1e+22
s1 = -0.52180662513577755
The correct result of tan (1e22) is:
s1 = -1.6287782256068988
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126