mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-31 23:11:09 +00:00
[BZ #5753]
* sysdeps/ia64/ieee754.h: Use protected namespace __BIG_ENDIAN/__LITTLE_ENDIAN. * sysdeps/ieee754/ieee754.h: Likewise. Patch by Aurelien Jarno <aurelien@aurel32.net>.
This commit is contained in:
parent
78c76b4191
commit
b45ee712d5
@ -80,7 +80,7 @@ union ieee754_double
|
||||
unsigned int mantissa1:32;
|
||||
#endif /* Big endian. */
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
# if __FLOAT_WORD_ORDER == BIG_ENDIAN
|
||||
# if __FLOAT_WORD_ORDER == __BIG_ENDIAN
|
||||
unsigned int mantissa0:20;
|
||||
unsigned int exponent:11;
|
||||
unsigned int negative:1;
|
||||
@ -106,7 +106,7 @@ union ieee754_double
|
||||
unsigned int mantissa0:19;
|
||||
unsigned int mantissa1:32;
|
||||
#else
|
||||
# if __FLOAT_WORD_ORDER == BIG_ENDIAN
|
||||
# if __FLOAT_WORD_ORDER == __BIG_ENDIAN
|
||||
unsigned int mantissa0:19;
|
||||
unsigned int quiet_nan:1;
|
||||
unsigned int exponent:11;
|
||||
@ -143,7 +143,7 @@ union ieee854_long_double
|
||||
unsigned int mantissa1:32;
|
||||
#endif
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
# if __FLOAT_WORD_ORDER == BIG_ENDIAN
|
||||
# if __FLOAT_WORD_ORDER == __BIG_ENDIAN
|
||||
unsigned int empty0:32;
|
||||
unsigned int exponent:15;
|
||||
unsigned int negative:1;
|
||||
@ -175,7 +175,7 @@ union ieee854_long_double
|
||||
unsigned int mantissa1:32;
|
||||
#endif
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
# if __FLOAT_WORD_ORDER == BIG_ENDIAN
|
||||
# if __FLOAT_WORD_ORDER == __BIG_ENDIAN
|
||||
unsigned int empty0:32;
|
||||
unsigned int exponent:15;
|
||||
unsigned int negative:1;
|
||||
|
@ -80,7 +80,7 @@ union ieee754_double
|
||||
unsigned int mantissa1:32;
|
||||
#endif /* Big endian. */
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
# if __FLOAT_WORD_ORDER == BIG_ENDIAN
|
||||
# if __FLOAT_WORD_ORDER == __BIG_ENDIAN
|
||||
unsigned int mantissa0:20;
|
||||
unsigned int exponent:11;
|
||||
unsigned int negative:1;
|
||||
@ -106,7 +106,7 @@ union ieee754_double
|
||||
unsigned int mantissa0:19;
|
||||
unsigned int mantissa1:32;
|
||||
#else
|
||||
# if __FLOAT_WORD_ORDER == BIG_ENDIAN
|
||||
# if __FLOAT_WORD_ORDER == __BIG_ENDIAN
|
||||
unsigned int mantissa0:19;
|
||||
unsigned int quiet_nan:1;
|
||||
unsigned int exponent:11;
|
||||
@ -142,7 +142,7 @@ union ieee854_long_double
|
||||
unsigned int mantissa1:32;
|
||||
#endif
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
# if __FLOAT_WORD_ORDER == BIG_ENDIAN
|
||||
# if __FLOAT_WORD_ORDER == __BIG_ENDIAN
|
||||
unsigned int exponent:15;
|
||||
unsigned int negative:1;
|
||||
unsigned int empty:16;
|
||||
@ -171,7 +171,7 @@ union ieee854_long_double
|
||||
unsigned int mantissa1:32;
|
||||
#endif
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
# if __FLOAT_WORD_ORDER == BIG_ENDIAN
|
||||
# if __FLOAT_WORD_ORDER == __BIG_ENDIAN
|
||||
unsigned int exponent:15;
|
||||
unsigned int negative:1;
|
||||
unsigned int empty:16;
|
||||
|
Loading…
Reference in New Issue
Block a user