public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/14811] New: Spurious underflows from pow results very close to 1
@ 2012-11-06 16:52 jsm28 at gcc dot gnu.org
  2012-11-07 13:04 ` [Bug math/14811] " jsm28 at gcc dot gnu.org
  2014-06-14 11:13 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-11-06 16:52 UTC (permalink / raw)
  To: glibc-bugs

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

             Bug #: 14811
           Summary: Spurious underflows from pow results very close to 1
           Product: glibc
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jsm28@gcc.gnu.org
    Classification: Unclassified


Various pow implementations have internal underflows in the internal
computation of y * log (x) when that is very small.  For example, the following
all raise spurious underflow exceptions on x86_64 (and return the correct
answer 1): powf (1.01f, 0x1p-149f), pow (1.01, 0x1p-1074), powl (1.01L,
0x1p-16445L).

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

* [Bug math/14811] Spurious underflows from pow results very close to 1
  2012-11-06 16:52 [Bug math/14811] New: Spurious underflows from pow results very close to 1 jsm28 at gcc dot gnu.org
@ 2012-11-07 13:04 ` jsm28 at gcc dot gnu.org
  2014-06-14 11:13 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-11-07 13:04 UTC (permalink / raw)
  To: glibc-bugs

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-11-07 13:04:32 UTC ---
Fixed for 2.17 by:

commit 60e235ee2ae834bb9f7a884f1b192304b9fdcf33
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Nov 7 13:03:31 2012 +0000

    Fix spurious underflows from pow with results close to 1 (bug 14811).

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

* [Bug math/14811] Spurious underflows from pow results very close to 1
  2012-11-06 16:52 [Bug math/14811] New: Spurious underflows from pow results very close to 1 jsm28 at gcc dot gnu.org
  2012-11-07 13:04 ` [Bug math/14811] " jsm28 at gcc dot gnu.org
@ 2014-06-14 11:13 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-14 11:13 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
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-14 11:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-06 16:52 [Bug math/14811] New: Spurious underflows from pow results very close to 1 jsm28 at gcc dot gnu.org
2012-11-07 13:04 ` [Bug math/14811] " jsm28 at gcc dot gnu.org
2014-06-14 11:13 ` 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).