public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/15419] New: PowerPC: spurious overflow for hypotf
@ 2013-04-30 14:25 azanella at linux dot vnet.ibm.com
  2013-05-07 14:16 ` [Bug math/15419] " azanella at linux dot vnet.ibm.com
  2014-06-13 18:09 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: azanella at linux dot vnet.ibm.com @ 2013-04-30 14:25 UTC (permalink / raw)
  To: glibc-bugs

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

             Bug #: 15419
           Summary: PowerPC: spurious overflow for hypotf
           Product: glibc
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: unassigned@sourceware.org
        ReportedBy: azanella@linux.vnet.ibm.com
    Classification: Unclassified


The hypotf implementation for PowerPC (sysdeps/powerpc/fpu/e_hypotf.c)
generates
spurious overflow exception for subnormal arguments. This is due it checks
if arg1/arg2 > 2^30 (arg1 > arg2) by using a FP division.

Since the double version of ieee sqrt function will be used to compute final
value, there is not need to argument reduction in such case. A possible fix
would be just to clean up the test and call ieee sqrt directly.

I will send a patch to libc-alpha with a fix.

-- 
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/15419] PowerPC: spurious overflow for hypotf
  2013-04-30 14:25 [Bug math/15419] New: PowerPC: spurious overflow for hypotf azanella at linux dot vnet.ibm.com
@ 2013-05-07 14:16 ` azanella at linux dot vnet.ibm.com
  2014-06-13 18:09 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: azanella at linux dot vnet.ibm.com @ 2013-05-07 14:16 UTC (permalink / raw)
  To: glibc-bugs

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

Adhemerval Zanella Netto <azanella at linux dot vnet.ibm.com> changed:

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

--- Comment #1 from Adhemerval Zanella Netto <azanella at linux dot vnet.ibm.com> 2013-05-07 14:16:06 UTC ---
Fixed by commit 16e616a72f9ac247520c0c7da99b99e229facdf9.

-- 
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/15419] PowerPC: spurious overflow for hypotf
  2013-04-30 14:25 [Bug math/15419] New: PowerPC: spurious overflow for hypotf azanella at linux dot vnet.ibm.com
  2013-05-07 14:16 ` [Bug math/15419] " azanella at linux dot vnet.ibm.com
@ 2014-06-13 18:09 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 18:09 UTC (permalink / raw)
  To: glibc-bugs

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

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-13 18:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-30 14:25 [Bug math/15419] New: PowerPC: spurious overflow for hypotf azanella at linux dot vnet.ibm.com
2013-05-07 14:16 ` [Bug math/15419] " azanella at linux dot vnet.ibm.com
2014-06-13 18:09 ` 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).