public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/15023] New: cacos inaccurate for real part of result near
@ 2013-01-16 23:04 jsm28 at gcc dot gnu.org
  2013-01-17 20:28 ` [Bug math/15023] cacos inaccurate for real part of result near 0 jsm28 at gcc dot gnu.org
  2014-06-13 19:01 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-01-16 23:04 UTC (permalink / raw)
  To: glibc-bugs

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

             Bug #: 15023
           Summary: cacos inaccurate for real part of result near 0
           Product: glibc
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jsm28@gcc.gnu.org
    Classification: Unclassified


cacos is implemented as pi/2 - casin.  This leads to inaccurate results through
cancellation when the real part of the result of casin is near pi/2, so the
real part of the result of cacos is near 0.  For example, cacos (0x1p500 +
1.0i) gives a result with real part 0 (should be
3.054936363499604682051979393213617699789e-151).

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug math/15023] cacos inaccurate for real part of result near 0
  2013-01-16 23:04 [Bug math/15023] New: cacos inaccurate for real part of result near jsm28 at gcc dot gnu.org
@ 2013-01-17 20:28 ` jsm28 at gcc dot gnu.org
  2014-06-13 19:01 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-01-17 20:28 UTC (permalink / raw)
  To: glibc-bugs

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> 2013-01-17 20:27:36 UTC ---
Fixed for 2.18 by:

commit 728d7b43fc8a4f9b3ec772fd8b75a39b945e9f04
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Jan 17 20:25:51 2013 +0000

    Fix cacos real-part inaccuracy for result real part near 0 (bug 15023).

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug math/15023] cacos inaccurate for real part of result near 0
  2013-01-16 23:04 [Bug math/15023] New: cacos inaccurate for real part of result near jsm28 at gcc dot gnu.org
  2013-01-17 20:28 ` [Bug math/15023] cacos inaccurate for real part of result near 0 jsm28 at gcc dot gnu.org
@ 2014-06-13 19:01 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 19:01 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=15023

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-13 19:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-16 23:04 [Bug math/15023] New: cacos inaccurate for real part of result near jsm28 at gcc dot gnu.org
2013-01-17 20:28 ` [Bug math/15023] cacos inaccurate for real part of result near 0 jsm28 at gcc dot gnu.org
2014-06-13 19:01 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).