public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/16539] New: spurious underflow exception from expm1
@ 2014-02-07 14:34 zimmerma+gcc at loria dot fr
  2014-06-13  8:41 ` [Bug math/16539] " fweimer at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: zimmerma+gcc at loria dot fr @ 2014-02-07 14:34 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 16539
           Summary: spurious underflow exception from expm1
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: zimmerma+gcc at loria dot fr

this example (in extended precision) gives a spurious underflow:

Testing function expm1 for exponent 0 [seed=8344].
 rounding mode MPFR_RNDN:
      wrong underflow flag for x=4.0000000000000028@-4096
      library gives 4.0000000000000028@-4096
      mpfr    gives 4.0000000000000028@-4096
      underflow: mpfr 0, library 16

Note the glibc result is *above* the smallest subnormal 0x1p-16382, thus no
exception should be raised.

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


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

end of thread, other threads:[~2014-06-30 17:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-07 14:34 [Bug math/16539] New: spurious underflow exception from expm1 zimmerma+gcc at loria dot fr
2014-06-13  8:41 ` [Bug math/16539] " fweimer at redhat dot com
2014-06-24 21:01 ` jsm28 at gcc dot gnu.org
2014-06-24 21:01 ` cvs-commit at gcc dot gnu.org
2014-06-30 17:39 ` 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).