This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/21686] New: tgmath.h handling of __int128
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 28 Jun 2017 14:09:58 +0000
- Subject: [Bug math/21686] New: tgmath.h handling of __int128
- Auto-submitted: auto-generated
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.