aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/i386/fpu/bits/mathinline.h10
-rw-r--r--sysdeps/ieee754/bits/nan.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/i386/fpu/bits/mathinline.h b/sysdeps/i386/fpu/bits/mathinline.h
index 88a8f77..e8091df 100644
--- a/sysdeps/i386/fpu/bits/mathinline.h
+++ b/sysdeps/i386/fpu/bits/mathinline.h
@@ -127,19 +127,19 @@
__MATH_INLINE int
__signbitf (float __x) __THROW
{
- __extension__ union { float __f; int __i; } __u = { .__f = __x };
+ __extension__ union { float __f; int __i; } __u = { __f: __x };
return __u.__i < 0;
}
__MATH_INLINE int
__signbit (double __x) __THROW
{
- __extension__ union { double __d; int __i[2]; } __u = { .__d = __x };
+ __extension__ union { double __d; int __i[2]; } __u = { __d: __x };
return __u.__i[1] < 0;
}
__MATH_INLINE int
__signbitl (long double __x) __THROW
{
- __extension__ union { long double __l; int __i[3]; } __u = { .__l = __x };
+ __extension__ union { long double __l; int __i[3]; } __u = { __l: __x };
return (__u.__i[2] & 0x8000) != 0;
}
# endif
@@ -467,7 +467,7 @@ __inline_mathop_declNP (atan, "fld1; fpatan", "0" (__x) : "st(1)")
__inline_mathcode_ (long double, __sgn1l, __x, \
__extension__ union { long double __xld; unsigned int __xi[3]; } __n = \
- { .__xld = __x }; \
+ { __xld: __x }; \
__n.__xi[2] = (__n.__xi[2] & 0x8000) | 0x3fff; \
__n.__xi[1] = 0x80000000; \
__n.__xi[0] = 0; \
@@ -666,7 +666,7 @@ __MATH_INLINE int
__finite (double __x) __THROW
{
return (__extension__
- (((((union { double __d; int __i[2]; }) {.__d = __x}).__i[1]
+ (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1]
| 0x800fffffu) + 1) >> 31));
}
diff --git a/sysdeps/ieee754/bits/nan.h b/sysdeps/ieee754/bits/nan.h
index 251b14d..6d88b55 100644
--- a/sysdeps/ieee754/bits/nan.h
+++ b/sysdeps/ieee754/bits/nan.h
@@ -29,7 +29,7 @@
# define NAN \
(__extension__ \
((union { unsigned __l __attribute__((__mode__(__SI__))); float __d; }) \
- { .__l = 0x7fc00000UL }).__d)
+ { __l: 0x7fc00000UL }).__d)
#else