Skip to content

Commit

Permalink
[BZ #5753]
Browse files Browse the repository at this point in the history
* sysdeps/ia64/ieee754.h: Use protected namespace 
__BIG_ENDIAN/__LITTLE_ENDIAN. 
* sysdeps/ieee754/ieee754.h: Likewise. 
Patch by Aurelien Jarno <aurelien@aurel32.net>.
  • Loading branch information
Andreas Jaeger committed Mar 10, 2008
1 parent 78c76b4 commit b45ee71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions sysdeps/ia64/ieee754.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
8 changes: 4 additions & 4 deletions sysdeps/ieee754/ieee754.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit b45ee71

Please sign in to comment.