public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19046] New: ldbl-128 / ldbl-128ibm lgamma bad overflow handling
Date: Thu, 01 Oct 2015 16:35:00 -0000	[thread overview]
Message-ID: <bug-19046-131@http.sourceware.org/bugzilla/> (raw)

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

            Bug ID: 19046
           Summary: ldbl-128 / ldbl-128ibm lgamma bad overflow handling
           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: ---

The ldbl-128 / ldbl-128ibm implementation of lgamma handles large arguments in
a way that results in spurious overflows.  E.g., for mips64:

Failure: lgamma (0x5.c6aa645fffef5f5p+16368): Exception "Overflow" set
Failure: lgamma (0x5.c6aa645fffef5f5p+16368): errno set to 34, expected 0
(unchanged)
Failure: Test: lgamma (0x5.c6aa645fffef5f5p+16368)
Result:
 is:          inf   inf
 should be:   1.18973149535723176409107723032036400e+4932  
0x1.ffffffffffffffe127acbfd5f54ap+16383

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


             reply	other threads:[~2015-10-01 16:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-01 16:35 jsm28 at gcc dot gnu.org [this message]
2015-10-01 17:17 ` [Bug math/19046] " cvs-commit at gcc dot gnu.org
2015-10-01 17:18 ` jsm28 at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-19046-131@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).