This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/18030] New: [ldbl-128ibm] logbl wrong near powers of 2


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

            Bug ID: 18030
           Summary: [ldbl-128ibm] logbl wrong near powers of 2
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org

Similar to bug 18029 for ilogbl, the ldbl-128ibm implementation of logbl
produces incorrect results when the high part of the argument is a power of 2
and the low part a nonzero number with the opposite sign (and so the returned
exponent should be 1 less than that of the high part).  For example, logbl
(0x1.ffffffffffffffp1L) returns 2 but should return 1.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]