This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/23171] New: C++ iseqsig for long double converts arguments to double
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 11 May 2018 20:02:04 +0000
- Subject: [Bug math/23171] New: C++ iseqsig for long double converts arguments to double
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=23171
Bug ID: 23171
Summary: C++ iseqsig for long double converts arguments to
double
Product: glibc
Version: 2.27
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
CC: gabriel at inconstante dot eti.br
Target Milestone: ---
The C++ version of iseqsig in math.h does:
template<> struct __iseqsig_type<long double>
{
static int __call (double __x, double __y) throw ()
That is, __iseqsig_type<long double>::call has arguments of type double, when
they should have type long double to avoid spurious conversions to double.
--
You are receiving this mail because:
You are on the CC list for the bug.