]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 26 Jun 1998 22:59:42 +0000 (22:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 26 Jun 1998 22:59:42 +0000 (22:59 +0000)
1998-06-26  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe
code.

ChangeLog
sysdeps/i386/fpu/bits/mathinline.h

index 341991d625c25eb314950ad7cc4e24836fbb3fd5..aaa3e0d4f67fb0f5ea0f98feac19808604abd943 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index ee00f5881a77268b8699f723ded48fdc8fe0b7ea..836e5a305065b8e6a2c8fc263ad6782f3a0280ad 100644 (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 */
This page took 0.096486 seconds and 5 git commands to generate.