diff options
author | DJ Delorie <dj@redhat.com> | 2009-03-29 02:15:39 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2009-03-29 02:15:39 +0000 |
commit | 3481f392b0f0df40d3556b376322066086d577bf (patch) | |
tree | 10db2be9e96ce57aef9083cea47c58084e248365 /libdecnumber/decNumber.h | |
parent | 9259819687899b6c6d31a7b32c24bfadad4b73f0 (diff) | |
download | gdb-3481f392b0f0df40d3556b376322066086d577bf.zip gdb-3481f392b0f0df40d3556b376322066086d577bf.tar.gz gdb-3481f392b0f0df40d3556b376322066086d577bf.tar.bz2 |
merge from gcc
Diffstat (limited to 'libdecnumber/decNumber.h')
-rw-r--r-- | libdecnumber/decNumber.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdecnumber/decNumber.h b/libdecnumber/decNumber.h index 0a9fdce..72dbdaf 100644 --- a/libdecnumber/decNumber.h +++ b/libdecnumber/decNumber.h @@ -46,7 +46,7 @@ #define DECNEG 0x80 /* Sign; 1=negative, 0=positive or zero */ #define DECINF 0x40 /* 1=Infinity */ #define DECNAN 0x20 /* 1=NaN */ - #define DECSNAN 0x10 /* 1=sNaN */ + #define DECSNAN 0x10 /* 1=sNaN */ /* The remaining bits are reserved; they must be 0 */ #define DECSPECIAL (DECINF|DECNAN|DECSNAN) /* any special value */ @@ -124,7 +124,7 @@ uint8_t * decNumberGetBCD(const decNumber *, uint8_t *); decNumber * decNumberSetBCD(decNumber *, const uint8_t *, uint32_t); - /* Operators and elementary functions */ + /* Operators and elementary functions */ decNumber * decNumberAbs(decNumber *, const decNumber *, decContext *); decNumber * decNumberAdd(decNumber *, const decNumber *, const decNumber *, decContext *); decNumber * decNumberAnd(decNumber *, const decNumber *, const decNumber *, decContext *); @@ -185,7 +185,7 @@ /* Macros for testing decNumber *dn */ #define decNumberIsCanonical(dn) (1) /* All decNumbers are saintly */ - #define decNumberIsFinite(dn) (((dn)->bits&DECSPECIAL)==0) + #define decNumberIsFinite(dn) (((dn)->bits&DECSPECIAL)==0) #define decNumberIsInfinite(dn) (((dn)->bits&DECINF)!=0) #define decNumberIsNaN(dn) (((dn)->bits&(DECNAN|DECSNAN))!=0) #define decNumberIsNegative(dn) (((dn)->bits&DECNEG)!=0) |