about summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-08-28 08:45:53 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-08-28 08:45:53 -0700
commit5e2bc4ff3377bb94fd1baf9fef7751c61eca2118 (patch)
tree6c9c0892b945c2e85298db9233604b611fcb6f8f
parenta48c0fb4b4c322a0e0214f59516b9bb7883352f8 (diff)
downloadglibc-5e2bc4ff3377bb94fd1baf9fef7751c61eca2118.tar.gz
glibc-5e2bc4ff3377bb94fd1baf9fef7751c61eca2118.tar.xz
glibc-5e2bc4ff3377bb94fd1baf9fef7751c61eca2118.zip
x86_64 __redirect_ieee754_expf: Change double to float
__redirect_ieee754_expf has type float, not double.

	* sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
	Change double to float.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/x86_64/fpu/multiarch/e_expf.c2
2 files changed, 6 insertions, 1 deletions
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"