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/21684] New: tgmath.h handling of complex integers


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

            Bug ID: 21684
           Summary: tgmath.h handling of complex integers
           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: ---

The tgmath.h macros return a real type not a complex type when an argument is
of complex integer type (a GNU extension) and there are no arguments of complex
floating type.  (__tgmath_real_type_sub produces double in such a case when it
seems clear it ought to produce _Complex double for a complex integer type.)

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