public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/16315] New: Bad overflowing pow results for directed rounding
@ 2013-12-11  1:00 jsm28 at gcc dot gnu.org
  2013-12-11  1:22 ` [Bug math/16315] " jsm28 at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-12-11  1:00 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 16315
           Summary: Bad overflowing pow results for directed rounding
           Product: glibc
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org

The results of pow on overflow should respect the rounding mode and the sign of
the result.  Instead, for dbl-64 on x86_64 at least, they are infinities
regardless of the rounding mode, e.g.:

Failure: Test: pow_towardzero (-0x2p+0, 0x1.fffffep+112)
Result:
 is:          inf   inf
 should be:   1.79769313486231570814e+308   0x1.fffffffffffff0000000p+1023

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


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

end of thread, other threads:[~2014-06-29 11:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-11  1:00 [Bug math/16315] New: Bad overflowing pow results for directed rounding jsm28 at gcc dot gnu.org
2013-12-11  1:22 ` [Bug math/16315] " jsm28 at gcc dot gnu.org
2014-03-21  0:04 ` cvs-commit at gcc dot gnu.org
2014-06-13 11:25 ` fweimer at redhat dot com
2014-06-23 20:14 ` cvs-commit at gcc dot gnu.org
2014-06-23 20:14 ` jsm28 at gcc dot gnu.org
2014-06-29 11:50 ` cvs-commit at gcc dot gnu.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).