This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix for bz#13658 - using fsincos on x86-64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]