public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/16390] New: Soft-float ldbl-128ibm atan2l incorrect signs of zero
@ 2014-01-03 18:29 jsm28 at gcc dot gnu.org
  2014-01-03 20:57 ` [Bug math/16390] " cvs-commit at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2014-01-03 18:29 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 16390
           Summary: Soft-float ldbl-128ibm atan2l incorrect signs of zero
           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

On powerpc-nofpu, testing atan2l gives errors such as:

Failure: Test: atan2 (-0x4p-1024, 0xf.ffffffffffff8p+1020)
Result:
 is:          0.00000000000000000000e+00   0x0.00000000000000000000p+0
 should be:  -0.00000000000000000000e+00  -0x0.00000000000000000000p+0
 difference:  0.00000000000000000000e+00   0x0.00000000000000000000p+0
 ulp       :  0.0000
 max.ulp   :  0.0000

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


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

* [Bug math/16390] Soft-float ldbl-128ibm atan2l incorrect signs of zero
  2014-01-03 18:29 [Bug math/16390] New: Soft-float ldbl-128ibm atan2l incorrect signs of zero jsm28 at gcc dot gnu.org
@ 2014-01-03 20:57 ` cvs-commit at gcc dot gnu.org
  2014-01-03 20:59 ` jsm28 at gcc dot gnu.org
  2014-06-13  9:13 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-01-03 20:57 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  22562bb222a91e0ecc416b19accd98e10c0d26be (commit)
      from  0da43124a9b5c24fe2e877e3d94a4f3d859f0486 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=22562bb222a91e0ecc416b19accd98e10c0d26be

commit 22562bb222a91e0ecc416b19accd98e10c0d26be
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Jan 3 20:56:18 2014 +0000

    Fix soft-float ldbl-128ibm atan2l signs of zero results (bug 16390).

    This patch fixes bug 16390, incorrect signs of zero results from
    ldbl-128ibm atan2l, soft-float only.  The problem is a longstanding
    GCC bug with fabsl not being correct for signed zero for soft float,
    and the fix is using -fno-builtin-fabsl as a workaround, as already
    done for various other source files.  Tested powerpc-nofpu.

        * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
        (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                      |    6 ++++++
 NEWS                           |    2 +-
 sysdeps/powerpc/nofpu/Makefile |    1 +
 3 files changed, 8 insertions(+), 1 deletions(-)

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


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

* [Bug math/16390] Soft-float ldbl-128ibm atan2l incorrect signs of zero
  2014-01-03 18:29 [Bug math/16390] New: Soft-float ldbl-128ibm atan2l incorrect signs of zero jsm28 at gcc dot gnu.org
  2014-01-03 20:57 ` [Bug math/16390] " cvs-commit at gcc dot gnu.org
@ 2014-01-03 20:59 ` jsm28 at gcc dot gnu.org
  2014-06-13  9:13 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2014-01-03 20:59 UTC (permalink / raw)
  To: glibc-bugs

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

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

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

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.19.

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


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

* [Bug math/16390] Soft-float ldbl-128ibm atan2l incorrect signs of zero
  2014-01-03 18:29 [Bug math/16390] New: Soft-float ldbl-128ibm atan2l incorrect signs of zero jsm28 at gcc dot gnu.org
  2014-01-03 20:57 ` [Bug math/16390] " cvs-commit at gcc dot gnu.org
  2014-01-03 20:59 ` jsm28 at gcc dot gnu.org
@ 2014-06-13  9:13 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13  9:13 UTC (permalink / raw)
  To: glibc-bugs

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

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

end of thread, other threads:[~2014-06-13  9:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-03 18:29 [Bug math/16390] New: Soft-float ldbl-128ibm atan2l incorrect signs of zero jsm28 at gcc dot gnu.org
2014-01-03 20:57 ` [Bug math/16390] " cvs-commit at gcc dot gnu.org
2014-01-03 20:59 ` jsm28 at gcc dot gnu.org
2014-06-13  9: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).