public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/13705] New: Bogus FPE on underflow for exp(double)
@ 2012-02-17 21:08 law at redhat dot com
  2012-02-18 12:16 ` [Bug math/13705] " aurelien at aurel32 dot net
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: law at redhat dot com @ 2012-02-17 21:08 UTC (permalink / raw)
  To: glibc-bugs

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

             Bug #: 13705
           Summary: Bogus FPE on underflow for exp(double)
           Product: glibc
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: aj@suse.de
        ReportedBy: law@redhat.com
    Classification: Unclassified


Created attachment 6225
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6225
testcase

With floating point trapping enabled, *except* for "underflow"
and "inexact", exp(-1.0e40) will throw a Floating Point Exception.

How reproducible:
Every time.

Steps to Reproduce:
1. Compile attached test programme (g++ test1.cpp)
2. Run program
3.

Actual results:
Floating point exception.

Expected results:
The value 0 should be printed.

-- 
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] 8+ messages in thread

end of thread, other threads:[~2014-06-26 15:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-17 21:08 [Bug math/13705] New: Bogus FPE on underflow for exp(double) law at redhat dot com
2012-02-18 12:16 ` [Bug math/13705] " aurelien at aurel32 dot net
2012-02-20  6:34 ` aurelien at aurel32 dot net
2012-02-20 22:33 ` rjrw at waitrose dot com
2012-02-21 13:53 ` aurelien at aurel32 dot net
2012-03-26 11:03 ` aj at suse dot de
2012-04-08 22:50 ` jsm28 at gcc dot gnu.org
2014-06-26 15:21 ` 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).