summaryrefslogtreecommitdiff
path: root/libdecnumber/decNumber.h
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-06-23 01:46:00 +0000
committerBen Elliston <bje@gcc.gnu.org>2006-06-23 11:46:00 +1000
commitf64ad1d31945b781eb8adec1a920875042c7d20f (patch)
treeb556ca05a4a4660bdaaac1fc7c6df0018da5e812 /libdecnumber/decNumber.h
parent8c3390831f47bc38a327ab9ae3abc16494cfcc98 (diff)
downloadgcc-f64ad1d31945b781eb8adec1a920875042c7d20f.tar.gz
decNumber.h (decNumberNegate): Remove.
libdecnumber/ * decNumber.h (decNumberNegate): Remove. gcc/ * dfp.c (decimal_to_decnumber): Do not use decNumberNegate to negate dn -- manipulate it directly. From-SVN: r114922
Diffstat (limited to 'libdecnumber/decNumber.h')
-rw-r--r--libdecnumber/decNumber.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libdecnumber/decNumber.h b/libdecnumber/decNumber.h
index a4c45d03052..a4e81cd4053 100644
--- a/libdecnumber/decNumber.h
+++ b/libdecnumber/decNumber.h
@@ -178,6 +178,5 @@ decNumber *decNumberZero (decNumber *);
#define decNumberIsNegative(dn) (((dn)->bits&DECNEG)!=0)
#define decNumberIsNaN(dn) (((dn)->bits&(DECNAN|DECSNAN))!=0)
#define decNumberIsInfinite(dn) (((dn)->bits&DECINF)!=0)
-#define decNumberNegate(dn) (((dn)->bits)^=DECNEG)
#endif