This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi! Bernds patch also put __sqrtl inside of __FAST_MATH__, but __sqrtl is used by asinh, acosh, atanh and hypot outside of __FAST_MATH__. 2003-06-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/bits/mathinline.h (log1p, asinh, acosh, atanh, hypot, logb): Protect with #ifdef __FAST_MATH__. 2003-06-04 Thorsten Kukuk <kukuk@suse.de> * sysdeps/i386/fpu/bits/mathinline.h (ldexpf, ldexpl): Protect with #ifdef __FAST_MATH__. --- libc/sysdeps/i386/fpu/bits/mathinline.h 2 Jun 2003 22:39:19 -0000 1.51 +++ libc/sysdeps/i386/fpu/bits/mathinline.h 4 Jun 2003 20:06:22 -0000 @@ -534,11 +534,10 @@ ldexp (double __x, int __y) __THROW # 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. */ -# define __M_SQRT2 1.41421356237309504880L /* sqrt(2) */ +# define __M_SQRT2 1.41421356237309504880L /* sqrt(2) */ __inline_mathcodeNP (log1p, __x, \ register long double __value; \ @@ -577,12 +576,12 @@ __inline_mathcodeNP(logb, __x, \ : "=t" (__junk), "=u" (__value) : "0" (__x)); \ return __value) +# endif #endif #ifdef __USE_ISOC99 #ifdef __FAST_MATH__ __inline_mathop_declNP (log2, "fld1; fxch; fyl2x", "0" (__x) : "st(1)") -#endif /* __FAST_MATH__ */ __MATH_INLINE float ldexpf (float __x, int __y) __THROW @@ -596,7 +595,6 @@ ldexpl (long double __x, int __y) __THRO __ldexp_code; } -#ifdef __FAST_MATH__ __inline_mathcodeNP3 (fma, __x, __y, __z, return (__x * __y) + __z) __inline_mathopNP (rint, "frndint") Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |