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/21686] New: tgmath.h handling of __int128


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

            Bug ID: 21686
           Summary: tgmath.h handling of __int128
           Product: glibc
           Version: 2.25
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

When a tgmath.h macro is passed a double argument and an argument of type
__int128, it generates a call to a long double function (although the result
still gets converted to type double).  __int128 is similar enough to integer
types that it should be handled consistently like them, so always like double
for these macros rather than sometimes like double and sometimes like long
double.

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