public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/19077] New: [ldbl-128ibm] logl (1) incorrect sign of zero result
@ 2015-10-06 15:19 jsm28 at gcc dot gnu.org
  2015-10-06 15:33 ` [Bug math/19077] " jsm28 at gcc dot gnu.org
  2015-10-06 15:33 ` cvs-commit at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-10-06 15:19 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 19077
           Summary: [ldbl-128ibm] logl (1) incorrect sign of zero result
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc*-*-*

The ldbl-128ibm implementation of logl produces a zero with the wrong sign for
logl (1) in FE_DOWNWARD mode:

Failure: Test: log_downward (0x1p+0)
Result:
 is:         -0.00000000000000000000000000000000e+00 
-0x0.000000000000000000000000000p+0
 should be:   0.00000000000000000000000000000000e+00  
0x0.000000000000000000000000000p+0
 difference:  0.00000000000000000000000000000000e+00  
0x0.000000000000000000000000000p+0
 ulp       :  0.0000
 max.ulp   :  1.0000

-- 
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/19077] [ldbl-128ibm] logl (1) incorrect sign of zero result
  2015-10-06 15:19 [Bug math/19077] New: [ldbl-128ibm] logl (1) incorrect sign of zero result jsm28 at gcc dot gnu.org
@ 2015-10-06 15:33 ` jsm28 at gcc dot gnu.org
  2015-10-06 15:33 ` cvs-commit at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-10-06 15:33 UTC (permalink / raw)
  To: glibc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

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

-- 
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/19077] [ldbl-128ibm] logl (1) incorrect sign of zero result
  2015-10-06 15:19 [Bug math/19077] New: [ldbl-128ibm] logl (1) incorrect sign of zero result jsm28 at gcc dot gnu.org
  2015-10-06 15:33 ` [Bug math/19077] " jsm28 at gcc dot gnu.org
@ 2015-10-06 15:33 ` cvs-commit at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-10-06 15:33 UTC (permalink / raw)
  To: glibc-bugs

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

--- 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  31d4459e42d239fb7d9d3f9532fcf580c6812fb3 (commit)
      from  d79b56892651fcfc1ae0f44d3d29d0fa03538ec1 (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=31d4459e42d239fb7d9d3f9532fcf580c6812fb3

commit 31d4459e42d239fb7d9d3f9532fcf580c6812fb3
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Oct 6 15:32:06 2015 +0000

    Fix ldbl-128ibm logl (1) sign of zero result (bug 19077).

    The ldbl-128ibm implementation of logl produces a zero with the wrong
    sign for logl (1) in FE_DOWNWARD mode.  This patch makes it explicitly
    return 0.0L in that case, as in e.g. the ldbl-128 implementation.

    Tested for powerpc.

        [BZ #19077]
        * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
        0.0L for argument 1.0L.

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

Summary of changes:
 ChangeLog                            |    4 ++++
 NEWS                                 |    2 +-
 sysdeps/ieee754/ldbl-128ibm/e_logl.c |    2 ++
 3 files changed, 7 insertions(+), 1 deletions(-)

-- 
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:[~2015-10-06 15:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-06 15:19 [Bug math/19077] New: [ldbl-128ibm] logl (1) incorrect sign of zero result jsm28 at gcc dot gnu.org
2015-10-06 15:33 ` [Bug math/19077] " jsm28 at gcc dot gnu.org
2015-10-06 15:33 ` 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).