public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/15287] New: casinh inaccurate for imaginary part of argument = 1 and small real part
@ 2013-03-20  0:53 jsm28 at gcc dot gnu.org
  2013-03-21 10:28 ` [Bug math/15287] " jsm28 at gcc dot gnu.org
  2014-06-13 18:41 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-03-20  0:53 UTC (permalink / raw)
  To: glibc-bugs

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

             Bug #: 15287
           Summary: casinh inaccurate for imaginary part of argument = 1
                    and small real part
           Product: glibc
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jsm28@gcc.gnu.org
    Classification: Unclassified


The implementation of casinh is substantially inaccurate for arguments with
imaginary part 1 (or -1) and small real part.  For example, on x86_64, casinh
(0x1p-30 + 1.0i) should return 0x1.64564057723e9p-15 + 0x1.921cec97c2264p+0i
but returns 0x1.0000000155515p-15 + 0x1.921db54442d43p+0i, with both parts
substantially inaccurate.  For subnormal arguments (e.g. 0x1.fp-1025), the
inaccurate results underflow where the correct results would not, with
associated underflow exceptions.  Much the same issues affect casin and cacos
for appropriate inputs to those functions.

Patch: http://sourceware.org/ml/libc-alpha/2013-03/msg00465.html

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-20  0:53 [Bug math/15287] New: casinh inaccurate for imaginary part of argument = 1 and small real part jsm28 at gcc dot gnu.org
2013-03-21 10:28 ` [Bug math/15287] " jsm28 at gcc dot gnu.org
2014-06-13 18:41 ` 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).