public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/19071] New: ldbl-96 lroundl incorrect just below powers of 2
@ 2015-10-05 22:29 jsm28 at gcc dot gnu.org
  2015-10-05 22:56 ` [Bug math/19071] " 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 @ 2015-10-05 22:29 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 19071
           Summary: ldbl-96 lroundl incorrect just below powers of 2
           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-96 version of lroundl is incorrect for systems with 64-bit long when
the argument's absolute value is just below a power of 2, 2^32 or more, and
rounds up to the next integer; in such cases, it returns 0.  E.g., on x86_64:

Failure: Test: lround (4294967295.5)
Result:
 is:         0
 should be:  4294967296

-- 
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:[~2015-10-29 17:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-05 22:29 [Bug math/19071] New: ldbl-96 lroundl incorrect just below powers of 2 jsm28 at gcc dot gnu.org
2015-10-05 22:56 ` [Bug math/19071] " cvs-commit at gcc dot gnu.org
2015-10-05 22:56 ` jsm28 at gcc dot gnu.org
2015-10-29 17:11 ` jsm28 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).