public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/3919] New: Quiet NaNs not propagated quietly by some math functions
@ 2007-01-25 12:58 kreckel at ginac dot de
  2007-03-15 13:49 ` [Bug math/3919] " jakub at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: kreckel at ginac dot de @ 2007-01-25 12:58 UTC (permalink / raw)
  To: glibc-bugs

I've conducted a survey of the qNaN propagation of all C99 <math.h> functions on
i386 and found the following nonconformances:

- The acosh and acoshf functions raise the invalid exception flag if their
  argument is a quiet NaN. (The acoshl function does not do that.)

- The log, logf, and logl functions raise the invalid exception flag if
  their argument is a quiet NaN.

- The ilogb, ilogbf, and ilogbl raise the invalid exception flag if their
  argument is a quiet NaN. According to C99, they should compute
  P_ILOGBNAN. They do not appear to be required to raise a domain error
  and I have doublts this is in accordance with the spirit of IEEE754.

-- 
           Summary: Quiet NaNs not propagated quietly by some math functions
           Product: glibc
           Version: 2.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: aj at suse dot de
        ReportedBy: kreckel at ginac dot de
                CC: glibc-bugs at sources dot redhat dot com
  GCC host triplet: i686-pc-linux-gnu


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2007-07-12 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-25 12:58 [Bug math/3919] New: Quiet NaNs not propagated quietly by some math functions kreckel at ginac dot de
2007-03-15 13:49 ` [Bug math/3919] " jakub at redhat dot com
2007-03-15 17:22 ` jakub at redhat dot com
2007-03-15 20:12 ` drepper at redhat dot com
2007-07-12 14:58 ` cvs-commit at gcc dot gnu dot org

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