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/23171] New: C++ iseqsig for long double converts arguments to double


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]