This is the mail archive of the glibc-bugs@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]

[Bug math/13942] x86 acos inaccurate near 1


http://sourceware.org/bugzilla/show_bug.cgi?id=13942

--- Comment #8 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-04-05 09:33:32 UTC ---
On Thu, 5 Apr 2012, bugdal at aerifal dot cx wrote:

> Already considered that. Using fabs will make the function accept inputs
> outside the domain without returning NAN.

I'm thinking of fabs after taking the square root, not before.  (And 
normally - except for the _LIB_VERSION == _IEEE_ case - the wrappers such 
as math/w_acos.c will have handled arguments outside the domain before 
this code is called at all.)

-- 
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.


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