about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-25 19:10:22 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-25 19:10:22 +0000
commit81e43fc19bce4ea05feed84157f7fba5bf43d842 (patch)
tree126b0868c2aa866f33f644c1a8d08e003e8ff27e
parent378fbeb49a5aa8883ebdc9c9f1a11a0e7f016c2a (diff)
downloadglibc-81e43fc19bce4ea05feed84157f7fba5bf43d842.tar.gz
glibc-81e43fc19bce4ea05feed84157f7fba5bf43d842.tar.xz
glibc-81e43fc19bce4ea05feed84157f7fba5bf43d842.zip
Update.
2000-05-25  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
	__FAST_MATH__ is defined.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/i386/fpu/bits/mathinline.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4430e3c554..0539897ddf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-25  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
+	__FAST_MATH__ is defined.
+
 2000-05-22  Andreas Jaeger  <aj@suse.de>
 
 	* math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
diff --git a/sysdeps/i386/fpu/bits/mathinline.h b/sysdeps/i386/fpu/bits/mathinline.h
index 9e9db8873d..9b1fae211b 100644
--- a/sysdeps/i386/fpu/bits/mathinline.h
+++ b/sysdeps/i386/fpu/bits/mathinline.h
@@ -566,7 +566,9 @@ ldexp (double __x, int __y)
 /* Optimized versions for some non-standardized functions.  */
 #if defined __USE_ISOC99 || defined __USE_MISC
 
+# ifdef __FAST_MATH__
 __inline_mathcodeNP (expm1, __x, __expm1_code)
+# endif
 
 /* We cannot rely on M_SQRT being defined.  So we do it for ourself
    here.  */