summaryrefslogtreecommitdiff
path: root/libdecnumber/dpd/decimal128Local.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2008-06-11 01:17:34 +0000
committerDJ Delorie <dj@delorie.com>2008-06-11 01:17:34 +0000
commit6ba08d90c505995d5f9fa5e695e77eae4c9f81fc (patch)
treec51eb1d426b23f876a7983e4520a9c8b8cfa0e75 /libdecnumber/dpd/decimal128Local.h
parent692eba47f93ddd928176ea63d4b03378f7eea71f (diff)
downloadgdb-6ba08d90c505995d5f9fa5e695e77eae4c9f81fc.tar.gz
merge from gcc
Diffstat (limited to 'libdecnumber/dpd/decimal128Local.h')
-rw-r--r--libdecnumber/dpd/decimal128Local.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdecnumber/dpd/decimal128Local.h b/libdecnumber/dpd/decimal128Local.h
index b4130b53425..97654277193 100644
--- a/libdecnumber/dpd/decimal128Local.h
+++ b/libdecnumber/dpd/decimal128Local.h
@@ -34,14 +34,14 @@
/* Set sign; this assumes the sign was previously zero. */
#define decimal128SetSign(d,b) \
- { (d)->bytes[FLOAT_WORDS_BIG_ENDIAN ? 0 : 15] |= ((unsigned) (b) << 7); }
+ { (d)->bytes[WORDS_BIGENDIAN ? 0 : 15] |= ((unsigned) (b) << 7); }
/* Clear sign. */
#define decimal128ClearSign(d) \
- { (d)->bytes[FLOAT_WORDS_BIG_ENDIAN ? 0 : 15] &= ~0x80; }
+ { (d)->bytes[WORDS_BIGENDIAN ? 0 : 15] &= ~0x80; }
/* Flip sign. */
#define decimal128FlipSign(d) \
- { (d)->bytes[FLOAT_WORDS_BIG_ENDIAN ? 0 : 15] ^= 0x80; }
+ { (d)->bytes[WORDS_BIGENDIAN ? 0 : 15] ^= 0x80; }
#endif