1998-06-26  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe
	code.
This commit is contained in:
Ulrich Drepper 1998-06-26 22:59:42 +00:00
parent d6db1d53b3
commit db24ce47ac
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1998-06-26 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe
code.
1998-06-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nis_call.c: Don't copy server structure.

View File

@ -581,7 +581,9 @@ __MATH_INLINE int __finite (double __x) __attribute__ ((__const__));
__MATH_INLINE int
__finite (double __x)
{
return ((((int *) &__x)[1] | 0x800fffff) + 1) >> 31;
return (__extension__
(((((union { double __d; int __i[2]; }) {__d: __x}).i[1]
| 0x800fffff) + 1) >> 31));
}
/* Miscellaneous functions */