mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Fix parameter type in C++ version of iseqsig (bug 23171)
The commit
commit c85e54ac6c
Author: Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
Date: Fri Nov 3 10:44:36 2017 -0200
Provide a C++ version of iseqsig (bug 22377)
mistakenly used double parameters in the long double version of iseqsig,
thus causing spurious conversions to double, as reported on bug 23171.
Tested for powerpc64le and x86_64.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
|
||||
|
||||
[BZ #23171]
|
||||
* math/math.h [C++] (iseqsig): Fix parameter type for the long
|
||||
double version.
|
||||
|
||||
2018-05-23 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/sh/Implies: Remove sh/soft-fp.
|
||||
|
@@ -1511,7 +1511,7 @@ template<> struct __iseqsig_type<double>
|
||||
|
||||
template<> struct __iseqsig_type<long double>
|
||||
{
|
||||
static int __call (double __x, double __y) throw ()
|
||||
static int __call (long double __x, long double __y) throw ()
|
||||
{
|
||||
# ifndef __NO_LONG_DOUBLE_MATH
|
||||
return __iseqsigl (__x, __y);
|
||||
|
Reference in New Issue
Block a user