This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/13851] New: sincosl(), sinl() and cosl() are incorrect for large inputs on x86_64 and x86
- From: "aj at suse dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 15 Mar 2012 13:41:19 +0000
- Subject: [Bug math/13851] New: sincosl(), sinl() and cosl() are incorrect for large inputs on x86_64 and x86
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13851
Bug #: 13851
Summary: sincosl(), sinl() and cosl() are incorrect for large
inputs on x86_64 and x86
Product: glibc
Version: 2.15
Status: NEW
Keywords: glibc_2.15
Severity: normal
Priority: P2
Component: math
AssignedTo: unassigned@sourceware.org
ReportedBy: aj@suse.de
CC: aj@suse.de, bugdal@aerifal.cx,
carlos@systemhalted.org, ppluzhnikov@google.com,
vincent-srcware@vinc17.net
Depends on: 13658
Classification: Unclassified
+++ This bug was initially created as a clone of Bug #13658 +++
sincosl() is inaccurate for large inputs on x86_64: with glibc 2.13,
#define _GNU_SOURCE
#include <stdio.h>
#include <math.h>
int main (void)
{
volatile long double x = 1.0e22;
long double s1, s2, c1;
sincosl (x, &s1, &c1);
s2 = sinl (x);
printf ("s1 = %.17Lg\n", s1);
printf ("s2 = %.17Lg\n", s2);
return 0;
}
outputs:
s1 = -0.63300455357085282
s2 = -0.63300455357085282
Correct output would be:
0.85220084976718879
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- Follow-Ups:
- [Bug math/13851] sincosl(), sinl() and cosl() are incorrect for large inputs on x86_64 and x86
- [Bug math/13851] sincosl(), sinl() and cosl(), tanl() are incorrect for large inputs on x86_64 and x86
- [Bug math/13851] sincosl(), sinl() and cosl(), tanl() are incorrect for large inputs on x86_64 and x86
- [Bug math/13851] sincosl(), sinl() and cosl(), tanl() are incorrect for large inputs on x86_64 and x86
- [Bug math/13851] sincosl(), sinl() and cosl(), tanl() are incorrect for large inputs on x86_64 and x86
- [Bug math/13851] sincosl(), sinl() and cosl(), tanl() are incorrect for large inputs on x86_64 and x86
- [Bug math/13851] sincosl(), sinl() and cosl(), tanl() are incorrect for large inputs on x86_64 and x86
- From: jsm28 at gcc dot gnu.org
- [Bug math/13851] sincosl(), sinl() and cosl(), tanl() are incorrect for large inputs on x86_64 and x86
- From: jsm28 at gcc dot gnu.org