summaryrefslogtreecommitdiff
path: root/libdecnumber
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-23 01:46:00 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-23 01:46:00 +0000
commitf11164aa647603361ea0a5368cbeff81ec1061bd (patch)
treeb556ca05a4a4660bdaaac1fc7c6df0018da5e812 /libdecnumber
parent493488c18b02870ec1adc1c5b5335d1cc7239e8e (diff)
downloadgcc-f11164aa647603361ea0a5368cbeff81ec1061bd.tar.gz
libdecnumber/
* decNumber.h (decNumberNegate): Remove. gcc/ * dfp.c (decimal_to_decnumber): Do not use decNumberNegate to negate dn -- manipulate it directly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114922 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libdecnumber')
-rw-r--r--libdecnumber/ChangeLog4
-rw-r--r--libdecnumber/decNumber.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/libdecnumber/ChangeLog b/libdecnumber/ChangeLog
index 5fe0d11c6a8..61aea9433e5 100644
--- a/libdecnumber/ChangeLog
+++ b/libdecnumber/ChangeLog
@@ -1,3 +1,7 @@
+2006-06-23 Ben Elliston <bje@au.ibm.com>
+
+ * decNumber.h (decNumberNegate): Remove.
+
2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: Add install-html target. Add install-html to .PHONY
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