* include/backward/hashtable.h (clear): Return quickly if the
[official-gcc.git] / libdecnumber / ChangeLog
blob864694a9daab2cd8807be48a275234a9d6247fff
1 2009-03-30  Ben Elliston  <bje@au.ibm.com>
3         * decNumber.c, decNumber.h, decNumberLocal.h, decDouble.c,
4         decDouble.h, decSingle.c, decContext.c, decSingle.h, decPacked.c,
5         decCommon.c, decContext.h, decQuad.c, decPacked.h, decQuad.h,
6         decDPD.h, decBasic.c: Upgrade to decNumber 3.61.
7         * dpd/decimal128.h, dpd/decimal32.c, dpd/decimal32.h,
8         dpd/decimal64.c, dpd/decimal128.c, dpd/decimal64.h: Likewise.
10 2009-02-10  Joseph Myers  <joseph@codesourcery.com>
12         * Makefile.in (clean): Don't remove makedepend$(EXEEXT).
14 2008-10-27  Janis Johnson  <janis187@us.ibm.com>
16         PR other/37897
17         * decDouble.h (decDouble): Replace struct with union accessible
18         by more types.
19         * decSingle.h (decSingle): Ditto.
20         * decQuad.h (decQuad): Ditto.
21         * decNumberLocal.h (DFWORD, DFBYTE, DFWWORD): access decFloat via
22         new members.
23         * decBasic.c (decFloatCompareTotal): Avoid type-pun violation.
24         (decNumberCompare): Ditto.
26 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
28         * Makefile.in ($(srcdir)/aclocal.m4): Update dependencies.
29         * configure: Regenerate.
31 2008-06-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
33         * Makefile.in (datarootdir): New variable.
35 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
37         * dconfig.h: New.
38         * decContext.c, decExcept.c, decExcept.h, decLibrary.c,
39         decNumber.c, decNumberLocal.h, decRound.c, dpd/decimal128.c,
40         dpd/decimal32.c, dpd/decimal64.c: Include dconfig.h not config.h.
41         * dpd/decimal128Local.h (decimal128SetSign, decimal128ClearSign,
42         decimal128FlipSign): Use WORDS_BIGENDIAN not
43         FLOAT_WORDS_BIG_ENDIAN.
44         * bid/host-ieee128.c: Include dconfig.h.
45         (__host_to_ieee_128, __ieee_to_host_128): Swap 64-bit halves of
46         value if WORDS_BIGENDIAN.
48 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
50         PR bootstrap/35457
51         * aclocal.m4: Regenerate.
52         * configure: Regenerate.
54 2008-04-18  Ben Elliston  <bje@au.ibm.com>
56         * Makefile.in (distclean): Add gstdint.h.
58 2008-01-25  Janis Johnson  <janis187@us.ibm.com>
60         * decCommonSymbols.h: Commit.
61         * decDPDSybmols.h: Commit.
63         * Makefile.in (libdecnumber_a_SOURCES): List Symbols headers.
64         * decCommonSymbols.h: New file.
65         * decCommon.c: Include it.
66         * decDPDSymbols.h: New file.
67         * decDPD.h: Include it.
68         * decNumberLocal.h: Include the two new files.
69         * decContextSymbols.h (DECPOWERS, DECSTICKYTAB): New.
70         * decNumberSymbols.h (LNnn, d2utable): New.
71         * dpd/decimal32Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
72         * dpd/decimal64Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
73         * dpd/decimal128Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
74         * dpd/decimal32.c: Remove redefine of DPD2BIN, BIN2DPD.
75         * dpd/decimal64.c: Ditto.
76         * dpd/decimal128.c: Ditto.
78 2007-11-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
80         * Makefile.in (decimal32.o): Prepend $(srcdir) to dependencies
81         and substitute $< for the source file in compilation command.
82         (decimal64.o): Likewise.
83         (decimal128.o): Likewise.
84         (bid2dpd_dpd2bid.o): Likewise.
85         (host-ieee32.o): Likewise.
86         (host-ieee64.o): Likewise.
87         (host-ieee128.o): Likewise.
89 2007-10-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
91         * configure.ac: Add ADDITIONAL_OBJS variable.
92         * Makefile.in (bid_OBS): New.
93         (libdecnumber_a_OBJS): Add ADDITIONAL_OBJS, remove condition
94         on enable_decimal_float.
95         * configure: Regenerate.
97 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
98             Ben Elliston  <bje@au.ibm.com>
100         * Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
101         (dependencies): Add Symbols headers.
102         * decContext.c: Upgrade to decNumber 3.53.
103         * decContext.h: Ditto.
104         * decDPD.h: Ditto.
105         * decNumber.c: Ditto.
106         * decNumber.h: Ditto.
107         * decNumberLocal.h: Ditto.
108         * decBasic.c: New file from decNumber 3.53.
109         * decCommon.c: Ditto.
110         * decDouble.c: Ditto.
111         * decDouble.h: Ditto.
112         * decQuad.c: Ditto.
113         * decQuad.h: Ditto.
114         * decSingle.c: Ditto.
115         * decSingle.h: Ditto.
116         * decPacked.c: Ditto.
117         * decPacked.h: Ditto.
118         * dpd/decimal128.c: Upgrade to decNumber 3.53.
119         * dpd/decimal128.h: Ditto.
120         * dpd/decimal32.c: Ditto.
121         * dpd/decimal32.h: Ditto.
122         * dpd/decimal64.c: Ditto.
123         * dpd/decimal64.h: Ditto.
124         * decLibrary.c (__dec_byte_swap): Remove.
125         * decContextSymbols.h: New file.
126         * decDoubleSymbols.h: New file.
127         * decNumberSymbols.h: New file.
128         * decPackedSymbols.h: New file.
129         * decQuadSymbols.h: New file.
130         * decSingleSymbols.h: New file.
131         * decUtility.c: Delete file.
132         * decUtility.h: Delete file.
133         * bid/decimal128Symbols.h: New file.
134         * bid/decimal128Local.h: New file.
135         * bid/decimal32Symbols.h: New file.
136         * bid/decimal64Symbols.h: New file.
137         * bid/host-ieee128.c (__swap128): Remove.
138         (__host_to_ieee_128, __ieee_to_host_128): Don't handle endianness.
139         * bid/host-ieee32.c (__dec_type_swap): Remove.
140         (__host_to_ieee_32, __ieee_to_host_32): Don't handle endianness.
141         * bid/host-ieee64.c (__swap64): Remove.
142         (__host_to_ieee_64, __ieee_to_host_64): Don't handle endianness.
143         * dpd/decimal32Symbols.h: New file.
144         * dpd/decimal64Symbols.h: New file.
145         * dpd/decimal128Symbols.h: New file.
146         * dpd/decimal128Local.h: New file.
148 2007-06-18  Martin Michlmayr  <tbm@cyrius.com>
149             H.J. Lu  <hongjiu.lu@intel.com>
151         * configure.ac: Add AC_CANONICAL_TARGET.
152         * configure: Regenerated.
154 2007-04-16  H.J. Lu  <hongjiu.lu@intel.com>
156         * Makefile.in (aclocal.m4): Depend on stdint.m4 instead of
157         acx.m4.
159         * aclocal.m4: Regenerated by aclocal 1.9.6.
161 2007-04-11  Kai Tietz   <kai.tietz@onevision.com>
163         * configure: Regenerate.
165 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
166             H.J. Lu  <hongjiu.lu@intel.com>
167             Marius Cornea  <marius.cornea@intel.com>
169         * Makefile.in (enable_decimal_float): New.
170         (libdecnumber_a_OBJS): Add bid2dpd_dpd2bid.o, host-ieee32.o,
171         host-ieee64.o and host-ieee128.o for BID.
172         (libdecnumber_a_SOURCES): Support DPD and BID.
173         (decimal32.o): Support dependency for both DPD and BID.
174         (decimal64.o): Likewise.
175         (decimal128.o): Likewise.
176         (bid2dpd_dpd2bid.o): New target.
177         (host-ieee32.o): Likewise.
178         (host-ieee64.o): Likewise.
179         (host-ieee128.o): Likewise.
181         * bid/bid-dpd.h: New file.
182         * bid/decimal128.c: Likewise.
183         * bid/decimal128.h: Likewise.
184         * bid/decimal32.c: Likewise.
185         * bid/decimal32.h: Likewise.
186         * bid/decimal64.c: Likewise.
187         * bid/decimal64.h: Likewise.
188         * bid/host-ieee128.c: Likewise.
189         * bid/host-ieee32.c: Likewise.
190         * bid/host-ieee64.c: Likewise.
191         * bid/bid2dpd_dpd2bid.c: Likewise.
192         * bid/bid2dpd_dpd2bid.h: Likewise.
194         * decimal128.c: Moved to ...
195         * dpd/decimal128.c: This.
196         * decimal128.h:  Moved to ...
197         * dpd/decimal128.h: This.
198         * decimal32.c: Moved to ...
199         * dpd/decimal32.c: This.
200         * decimal32.h: Moved to ...
201         * dpd/decimal32.h: This.
202         * decimal64.c: Moved to ...
203         * dpd/decimal64.c: This.
204         * decimal64.h: Moved to ...
205         * dpd/decimal64.h: This.
207         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
208         Add AC_C_BIGENDIAN.  Substitute enable_decimal_float.
209         * config.in: Add decimal support variables.
210         * configure: Regenerate.
212         PR other/30530
213         * decimal128.h (decimal128ClearSign): New.
214         (decimal128FlipSign): Likewise.
216         * decimal32.h: (decimal32ClearSign): New.
217         (decimal32FlipSign): Likewise.
219         * decimal64.h (decimal64ClearSign): New.
220         (decimal64FlipSign): Likewise.
222 2007-03-08  Ben Elliston  <bje@au.ibm.com>
224         * decContext.c, decContext.h, decDPD.h, decimal128.c,
225         decimal128.h, decimal32.c, decimal32.h, decimal64.c, decimal64.h,
226         decLibrary.c, decNumber.c, decNumber.h, decNumberLocal.h,
227         decRound.c, decRound.h, decUtility.c, decUtility.h: Add
228         libgcc-style license exception clause.
230 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
232         * Makefile.in: Add dummy install-pdf target.
234 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
236         * decExcept.c: New.
237         * decExcept.h: New.
239 2006-11-29  Janis Johnson  <janis187@us.ibm.com>
241         * decRound.c: Move declarations to new file, update comments.
242         * decRound.h: New file.
244 2006-11-21  Janis Johnson  <janis187@us.ibm.com>
246         * decLibrary.c (__dec_type_swap): Add prototype.
247         (__dfp_enable_traps, dfp_raise): Delete.
249         * Makefile.in: Don't include decRound in library used by compiler.
251 2006-10-10  Brooks Moses  <bmoses@stanford.edu> 
252         * Makefile.in: Added empty "pdf" target.
254 2006-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
256         * decNumber.c (decNumberPower): Constify.
257         * decNumber.h (decNumberPower): Likewise.
259 2006-09-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
261         * configure.ac (ACX_PROG_CC_WARNING_OPTS): Add -Wcast-qual.
262         * configure, config.in: Regenerate.
264         * decContext.c (decContextStatusToString): Constify.
265         * decContext.h (decContextStatusToString): Likewise.
266         * decNumber.c (decNumberToString, decNumberToEngString,
267         decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
268         decNumberDivideInteger, decNumberMax, decNumberMin,
269         decNumberMinus, decNumberPlus, decNumberMultiply,
270         decNumberNormalize, decNumberQuantize, decNumberRescale,
271          decNumberRemainder, decNumberRemainderNear,
272         decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
273         decNumberToIntegralValue, decNumberCopy, decToString, decAddOp,
274         decDivideOp, decMultiplyOp, decQuantizeOp, decCompareOp,
275         decCompare, decUnitCompare, decUnitAddSub, decRoundOperand,
276         decCopyFit, decSetCoeff, decGetInt, decNaNs, decGetDigits,
277         decNumberShow, decDumpAr, decCheckOperands, decCheckNumber):
278         Likewise.
279         * decNumber.h (decNumberToString, decNumberToEngString,
280         decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
281         decNumberDivideInteger, decNumberMax, decNumberMin,
282         decNumberMinus, decNumberMultiply, decNumberNormalize,
283         decNumberPlus, decNumberQuantize, decNumberRemainder,
284          decNumberRemainderNear, decNumberRescale,
285         decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
286         decNumberToIntegralValue, decNumberCopy): Likewise.
287         * decUtility.c (decDensePackCoeff, decDenseUnpackCoeff):
288         Likewise.
289         * decUtility.h (decDensePackCoeff, decDenseUnpackCoeff):
290         Likewise.
291         * decimal128.c (decimal128FromNumber, decimal128ToNumber,
292         decimal128ToString, decimal128ToEngString, decimal128Show):
293         Likewise.
294         * decimal128.h (decimal128ToString, decimal128ToEngString,
295         decimal128FromNumber, decimal128ToNumber): Likewise.
296         * decimal32.c (decimal32FromNumber, decimal32ToNumber,
297         decimal32ToString, decimal32ToEngString, decimal32Show):
298         Likewise.
299         * decimal32.h (decimal32ToString, decimal32ToEngString,
300         decimal32FromNumber, decimal32ToNumber): Likewise.
301         * decimal64.c (decimal64FromNumber, decimal64ToNumber,
302         decimal64ToString, decimal64ToEngString, decimal64Show):
303         Likewise.
304         * decimal64.h (decimal64ToString, decimal64ToEngString,
305         decimal64FromNumber, decimal64ToNumber): Likewise.
307 2006-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
309         * decContext.c (decContextSetStatusFromString): Constify.
310         * decContext.h (decContextSetStatusFromString): Likewise.
311         * decNumber.c (decNumberFromString): Likewise.
312         * decNumber.h (decNumberFromString): Likewise.
313         * decimal128.c (decimal128FromString): Likewise.
314         * decimal128.h (decimal128FromString): Likewise.
315         * decimal32.c (decimal32FromString): Likewise.
316         * decimal32.h (decimal32FromString): Likewise.
317         * decimal64.c (decimal64FromString): Likewise.
318         * decimal64.h (decimal64FromString): Likewise.
320 2006-07-25  Paolo Bonzini  <bonzini@gnu.org>
322         PR build/26188
323         * configure: Regenerate.
325 2006-06-23  Ben Elliston  <bje@au.ibm.com>
327         * decNumber.h (decNumberNegate): Remove.
329 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
331         * Makefile.in: Add install-html target. Add install-html to .PHONY
333 2006-02-06  Ben Elliston  <bje@au.ibm.com>
335         * decLibrary.c (__dec_byte_swap): Use uint32_t for argument and
336         return types.
338 2006-01-03  Roger Sayle  <roger@eyesopen.com>
339             Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
341         * decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro
342         definition of strcpy from generating compilation warnings.
344 2006-01-02  Paolo Bonzini  <bonzini@gnu.org>
346         PR target/25259
347         * configure.ac: Use GCC_HEADER_STDINT.
348         * decContext.h: Include gstdint.h.
349         * aclocal.m4: Regenerate.
350         * configure: Regenerate.
352 2005-12-20  Roger Sayle  <roger@eyesopen.com>
354         * decNumber.c (decStrEq): Cast string contents to unsigned char
355         instead of int before calling tolower.
357 2005-12-20  Roger Sayle  <roger@eyesopen.com>
359         * decNumber.c (decStrEq): Cast operands to int before calling
360         tolower to avoid compilation warnings on Tru64.
362 2005-12-05  Ben Elliston  <bje@au.ibm.com>
364         * Makefile.in (clean): Remove stray reference to libcpp.a.
366         * decimal128.h, decContext.c, decRound.c, decimal32.c,
367         decNumber.c, decContext.h, decimal64.c, decimal32.h, decNumber.h,
368         decimal64.h, decUtility.c, decLibrary.c, configure.ac,
369         decNumberLocal.h, decUtility.h, decDPD.h, decimal128.c: Update FSF
370         office address.
372 2005-12-01  Ben Elliston  <bje@au.ibm.com>
374         * Makefile.in (libdecnumber_a_SOURCES): Drop decLibrary.c.
375         * decUtility.c (__dec_byte_swap): Move from here ..
376         * decLibrary.c: .. to here.
378 2005-11-23  Gerald Pfeifer  <gerald@pfeifer.com>
380         * decContext.h: Properly guard inclusion of stdint.h
381         * decContext.c: Include config.h
382         * decLibrary.c: Ditto.
383         * decNumber.c: Ditto.
384         * decRound.c: Ditto.
385         * decUtility.c: Ditto.
386         * decimal32.c: Ditto.
387         * decimal64.c: Ditto.
388         * decimal128.c: Ditto.
389         
390 2005-11-29  Ben Elliston  <bje@au.ibm.com>
392         * decUtility.c: Remove redundant #includes.
393         * decUtility.h (__dec_byte_swap): Remove prototype.
395 2005-11-29  Ben Elliston  <bje@au.ibm.com>
397         * configure.ac: New file.
398         * aclocal.m4: Likewise.
399         * Makefile.in: Likewise.
400         * configure: Generate.
401         * config.in: Likewise.
403 2005-11-29  Ben Elliston  <bje@au.ibm.com>
405         * decimal32.h, decimal64.h, decimal128.h: New.
406         * decimal32.c, decimal64.c, decimal128.c: Likewise.
407         * decContext.c, decContext.h: Likewise.
408         * decUtility.c, decUtility.h: Likewise.
409         * decNumber.c, decNumber.h, decNumberLocal.h: Likewise.
410         * decDPD.h: Likewise.
411         * decLibrary.c, decRound.c: Likewise.