aboutsummaryrefslogtreecommitdiff
path: root/libdecnumber/decNumber.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2009-03-30 00:01:29 +0000
committerDJ Delorie <dj@redhat.com>2009-03-30 00:01:29 +0000
commitf2be950300e01d47ae4f41fb7481c26319d33d81 (patch)
treeb8e1601a34c5f16ac401608e1a85a3091254543a /libdecnumber/decNumber.h
parent4104b747d5a0457c0dd5236796c6b8efafa70bd0 (diff)
downloadgdb-f2be950300e01d47ae4f41fb7481c26319d33d81.zip
gdb-f2be950300e01d47ae4f41fb7481c26319d33d81.tar.gz
gdb-f2be950300e01d47ae4f41fb7481c26319d33d81.tar.bz2
merge from gcc
Diffstat (limited to 'libdecnumber/decNumber.h')
-rw-r--r--libdecnumber/decNumber.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdecnumber/decNumber.h b/libdecnumber/decNumber.h
index 72dbdaf..0a9fdce 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)