From 81e43fc19bce4ea05feed84157f7fba5bf43d842 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 25 May 2000 19:10:22 +0000 Subject: [PATCH] Update. 2000-05-25 Ulrich Drepper * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if __FAST_MATH__ is defined. --- ChangeLog | 5 +++++ sysdeps/i386/fpu/bits/mathinline.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4430e3c554..0539897ddf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-05-25 Ulrich Drepper + + * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if + __FAST_MATH__ is defined. + 2000-05-22 Andreas Jaeger * 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. */ -- 2.43.5