This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/13942] x86 acos inaccurate near 1
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 05 Apr 2012 09:33:32 +0000
- Subject: [Bug math/13942] x86 acos inaccurate near 1
- Auto-submitted: auto-generated
- References: <bug-13942-131@http.sourceware.org/bugzilla/>
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.