aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/fpu
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-04 16:39:33 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-04 16:39:33 +0000
commit1dd548500f4b9f8526faebedd19c697a8dba57d9 (patch)
treef32a853655eb69cf2070ce09ff248311f5c69e58 /sysdeps/i386/fpu
parent61da76873e02412125d0c474cf11ff3f8c2d0930 (diff)
downloadglibc-1dd548500f4b9f8526faebedd19c697a8dba57d9.tar
glibc-1dd548500f4b9f8526faebedd19c697a8dba57d9.tar.gz
glibc-1dd548500f4b9f8526faebedd19c697a8dba57d9.tar.bz2
glibc-1dd548500f4b9f8526faebedd19c697a8dba57d9.zip
Update.
2000-06-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh if -ffast-math.
Diffstat (limited to 'sysdeps/i386/fpu')
-rw-r--r--sysdeps/i386/fpu/bits/mathinline.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/i386/fpu/bits/mathinline.h b/sysdeps/i386/fpu/bits/mathinline.h
index 50bfcde957..38c7405bc1 100644
--- a/sysdeps/i386/fpu/bits/mathinline.h
+++ b/sysdeps/i386/fpu/bits/mathinline.h
@@ -513,6 +513,7 @@ __inline_mathcode_ (long double, __sgn1l, __x, \
return __n.__xld)
+#ifdef __FAST_MATH__
/* The argument range of the inline version of sinhl is slightly reduced. */
__inline_mathcodeNP (sinh, __x, \
register long double __exm1 = __expm1l (__fabsl (__x)); \
@@ -525,7 +526,7 @@ __inline_mathcodeNP (cosh, __x, \
__inline_mathcodeNP (tanh, __x, \
register long double __exm1 = __expm1l (-__fabsl (__x + __x)); \
return __exm1 / (__exm1 + 2.0) * __sgn1l (-__x))
-
+#endif
__inline_mathcodeNP (floor, __x, \
register long double __value; \