[committed] x86_64 __redirect_ieee754_expf: Change double to float

Message ID 20170828154852.GA9843@gmail.com
State Committed
Headers

Commit Message

Lu, Hongjiu Aug. 28, 2017, 3:48 p.m. UTC
  __redirect_ieee754_expf has type float, not double.

	* sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
	Change double to float.
---
 ChangeLog                             | 5 +++++
 sysdeps/x86_64/fpu/multiarch/e_expf.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
  

Patch

diff --git a/ChangeLog b/ChangeLog
index d6aef6da03..522029c844 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@ 
+2017-08-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
+	Change double to float.
+
 2017-08-28  Joseph Myers  <joseph@codesourcery.com>
 
 	* math/math-svid-compat.h [!__ASSEMBLER__]: Make code
diff --git a/sysdeps/x86_64/fpu/multiarch/e_expf.c b/sysdeps/x86_64/fpu/multiarch/e_expf.c
index 864d5f9b21..096209857e 100644
--- a/sysdeps/x86_64/fpu/multiarch/e_expf.c
+++ b/sysdeps/x86_64/fpu/multiarch/e_expf.c
@@ -16,7 +16,7 @@ 
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-extern double __redirect_ieee754_expf (double);
+extern float __redirect_ieee754_expf (float);
 
 #define SYMBOL_NAME ieee754_expf
 #include "ifunc-fma.h"