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/19209] New: bits/math-finite.h wrongly maps ldexp to scalbn


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

            Bug ID: 19209
           Summary: bits/math-finite.h wrongly maps ldexp to scalbn
           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: ---

bits/math-finite.h maps ldexp functions to corresponding scalbn functions. 
This is (a) a namespace bug for C90, which has ldexp but not scalbn, and (b) in
any case useless, since the ldexp and scalbn functions have identical semantics
(for floating-point types with radix 2), and since the fix for bug 6803 are
actually aliases (presumably the mapping was based around the old bug of scalbn
not setting errno).

-- 
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]