1 2009-11-28 Jakub Jelinek <jakub@redhat.com>
3 * decContext.c (decContextTestEndian): Move adj definition into
4 #if DECCHECK guarded code.
6 2009-09-09 Paolo Bonzini <bonzini@gnu.org>
8 * configure: Regenerate.
10 2009-09-08 Paolo Bonzini <bonzini@gnu.org>
12 * configure: Regenerate.
14 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 * configure.ac (AC_PREREQ): Bump to 2.64.
18 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
20 * aclocal.m4: Regenerate.
21 * configure: Regenerate.
22 * config.in: Regenerate.
24 2009-08-13 Janis Johnson <janis187@us.ibm.com>
27 * decContext.c (decContextTestEndian): Call printf only if DECCHECK.
28 * decCommon.c ( decFloatShow): Define function only for DECCHECK
31 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
33 * Makefile.in (aclocal_deps): New variable.
34 ($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.
36 2009-05-31 Ian Lance Taylor <iant@google.com>
38 * decContext.h: Add extern "C" if compiling with C++.
40 * decNumber.h: Likewise.
41 * dpd/decimal32.h: Likewise.
42 * dpd/decimal64.h: Likewise.
43 * dpd/decimal128.h: Likewise.
45 2009-04-09 Nick Clifton <nickc@redhat.com>
47 * decRound.c: Change copyright header to refer to version 3 of
48 the GNU General Public License with version 3.1 of the GCC
49 Runtime Library Exception and to point readers at the COPYING3
50 and COPYING3.RUNTIME files and the FSF's license web page.
51 * bid/bid-dpd.h: Likewise.
52 * bid/bid2dpd_dpd2bid.c: Likewise.
53 * bid/bid2dpd_dpd2bid.h: Likewise.
54 * bid/decimal128.c: Likewise.
55 * bid/decimal32.c: Likewise.
56 * bid/decimal64.c: Likewise.
57 * bid/host-ieee128.c: Likewise.
58 * bid/host-ieee32.c: Likewise.
59 * bid/host-ieee64.c: Likewise.
60 * dconfig.h: Likewise.
61 * decBasic.c: Likewise.
62 * decCommon.c: Likewise.
63 * decContext.c: Likewise.
64 * decContext.h: Likewise.
66 * decDouble.c: Likewise.
67 * decDouble.h: Likewise.
68 * decExcept.c: Likewise.
69 * decExcept.h: Likewise.
70 * decLibrary.c: Likewise.
71 * decNumber.c: Likewise.
72 * decNumber.h: Likewise.
73 * decNumberLocal.h: Likewise.
74 * decPacked.c: Likewise.
75 * decPacked.h: Likewise.
76 * decQuad.c: Likewise.
77 * decQuad.h: Likewise.
78 * decRound.h: Likewise.
79 * decSingle.c: Likewise.
80 * decSingle.h: Likewise.
81 * dpd/decimal128.c: Likewise.
82 * dpd/decimal128.h: Likewise.
83 * dpd/decimal128Local.h: Likewise.
84 * dpd/decimal32.c: Likewise.
85 * dpd/decimal32.h: Likewise.
86 * dpd/decimal64.c: Likewise.
87 * dpd/decimal64.h: Likewise.
89 2009-04-09 Jakub Jelinek <jakub@redhat.com>
91 * Makefile.in: Change copyright header to refer to version
92 3 of the GNU General Public License and to point readers at the
93 COPYING3 file and the FSF's license web page.
94 * configure.ac: Likewise.
96 2009-04-01 Ben Elliston <bje@au.ibm.com>
98 * decContext.h: Include gstdint.h instead of <stdint.h>.
100 2009-03-30 Ben Elliston <bje@au.ibm.com>
102 * decNumber.c, decNumber.h, decNumberLocal.h, decDouble.c,
103 decDouble.h, decSingle.c, decContext.c, decSingle.h, decPacked.c,
104 decCommon.c, decContext.h, decQuad.c, decPacked.h, decQuad.h,
105 decDPD.h, decBasic.c: Upgrade to decNumber 3.61.
106 * dpd/decimal128.h, dpd/decimal32.c, dpd/decimal32.h,
107 dpd/decimal64.c, dpd/decimal128.c, dpd/decimal64.h: Likewise.
109 2009-02-10 Joseph Myers <joseph@codesourcery.com>
111 * Makefile.in (clean): Don't remove makedepend$(EXEEXT).
113 2008-10-27 Janis Johnson <janis187@us.ibm.com>
116 * decDouble.h (decDouble): Replace struct with union accessible
118 * decSingle.h (decSingle): Ditto.
119 * decQuad.h (decQuad): Ditto.
120 * decNumberLocal.h (DFWORD, DFBYTE, DFWWORD): access decFloat via
122 * decBasic.c (decFloatCompareTotal): Avoid type-pun violation.
123 (decNumberCompare): Ditto.
125 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
127 * Makefile.in ($(srcdir)/aclocal.m4): Update dependencies.
128 * configure: Regenerate.
130 2008-06-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
132 * Makefile.in (datarootdir): New variable.
134 2008-06-10 Joseph Myers <joseph@codesourcery.com>
137 * decContext.c, decExcept.c, decExcept.h, decLibrary.c,
138 decNumber.c, decNumberLocal.h, decRound.c, dpd/decimal128.c,
139 dpd/decimal32.c, dpd/decimal64.c: Include dconfig.h not config.h.
140 * dpd/decimal128Local.h (decimal128SetSign, decimal128ClearSign,
141 decimal128FlipSign): Use WORDS_BIGENDIAN not
142 FLOAT_WORDS_BIG_ENDIAN.
143 * bid/host-ieee128.c: Include dconfig.h.
144 (__host_to_ieee_128, __ieee_to_host_128): Swap 64-bit halves of
145 value if WORDS_BIGENDIAN.
147 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
150 * aclocal.m4: Regenerate.
151 * configure: Regenerate.
153 2008-04-18 Ben Elliston <bje@au.ibm.com>
155 * Makefile.in (distclean): Add gstdint.h.
157 2008-01-25 Janis Johnson <janis187@us.ibm.com>
159 * decCommonSymbols.h: Commit.
160 * decDPDSybmols.h: Commit.
162 * Makefile.in (libdecnumber_a_SOURCES): List Symbols headers.
163 * decCommonSymbols.h: New file.
164 * decCommon.c: Include it.
165 * decDPDSymbols.h: New file.
166 * decDPD.h: Include it.
167 * decNumberLocal.h: Include the two new files.
168 * decContextSymbols.h (DECPOWERS, DECSTICKYTAB): New.
169 * decNumberSymbols.h (LNnn, d2utable): New.
170 * dpd/decimal32Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
171 * dpd/decimal64Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
172 * dpd/decimal128Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
173 * dpd/decimal32.c: Remove redefine of DPD2BIN, BIN2DPD.
174 * dpd/decimal64.c: Ditto.
175 * dpd/decimal128.c: Ditto.
177 2007-11-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
179 * Makefile.in (decimal32.o): Prepend $(srcdir) to dependencies
180 and substitute $< for the source file in compilation command.
181 (decimal64.o): Likewise.
182 (decimal128.o): Likewise.
183 (bid2dpd_dpd2bid.o): Likewise.
184 (host-ieee32.o): Likewise.
185 (host-ieee64.o): Likewise.
186 (host-ieee128.o): Likewise.
188 2007-10-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
190 * configure.ac: Add ADDITIONAL_OBJS variable.
191 * Makefile.in (bid_OBS): New.
192 (libdecnumber_a_OBJS): Add ADDITIONAL_OBJS, remove condition
193 on enable_decimal_float.
194 * configure: Regenerate.
196 2007-09-10 Janis Johnson <janis187@us.ibm.com>
197 Ben Elliston <bje@au.ibm.com>
199 * Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
200 (dependencies): Add Symbols headers.
201 * decContext.c: Upgrade to decNumber 3.53.
202 * decContext.h: Ditto.
204 * decNumber.c: Ditto.
205 * decNumber.h: Ditto.
206 * decNumberLocal.h: Ditto.
207 * decBasic.c: New file from decNumber 3.53.
208 * decCommon.c: Ditto.
209 * decDouble.c: Ditto.
210 * decDouble.h: Ditto.
213 * decSingle.c: Ditto.
214 * decSingle.h: Ditto.
215 * decPacked.c: Ditto.
216 * decPacked.h: Ditto.
217 * dpd/decimal128.c: Upgrade to decNumber 3.53.
218 * dpd/decimal128.h: Ditto.
219 * dpd/decimal32.c: Ditto.
220 * dpd/decimal32.h: Ditto.
221 * dpd/decimal64.c: Ditto.
222 * dpd/decimal64.h: Ditto.
223 * decLibrary.c (__dec_byte_swap): Remove.
224 * decContextSymbols.h: New file.
225 * decDoubleSymbols.h: New file.
226 * decNumberSymbols.h: New file.
227 * decPackedSymbols.h: New file.
228 * decQuadSymbols.h: New file.
229 * decSingleSymbols.h: New file.
230 * decUtility.c: Delete file.
231 * decUtility.h: Delete file.
232 * bid/decimal128Symbols.h: New file.
233 * bid/decimal128Local.h: New file.
234 * bid/decimal32Symbols.h: New file.
235 * bid/decimal64Symbols.h: New file.
236 * bid/host-ieee128.c (__swap128): Remove.
237 (__host_to_ieee_128, __ieee_to_host_128): Don't handle endianness.
238 * bid/host-ieee32.c (__dec_type_swap): Remove.
239 (__host_to_ieee_32, __ieee_to_host_32): Don't handle endianness.
240 * bid/host-ieee64.c (__swap64): Remove.
241 (__host_to_ieee_64, __ieee_to_host_64): Don't handle endianness.
242 * dpd/decimal32Symbols.h: New file.
243 * dpd/decimal64Symbols.h: New file.
244 * dpd/decimal128Symbols.h: New file.
245 * dpd/decimal128Local.h: New file.
247 2007-06-18 Martin Michlmayr <tbm@cyrius.com>
248 H.J. Lu <hongjiu.lu@intel.com>
250 * configure.ac: Add AC_CANONICAL_TARGET.
251 * configure: Regenerated.
253 2007-04-16 H.J. Lu <hongjiu.lu@intel.com>
255 * Makefile.in (aclocal.m4): Depend on stdint.m4 instead of
258 * aclocal.m4: Regenerated by aclocal 1.9.6.
260 2007-04-11 Kai Tietz <kai.tietz@onevision.com>
262 * configure: Regenerate.
264 2007-03-23 Michael Meissner <michael.meissner@amd.com>
265 H.J. Lu <hongjiu.lu@intel.com>
266 Marius Cornea <marius.cornea@intel.com>
268 * Makefile.in (enable_decimal_float): New.
269 (libdecnumber_a_OBJS): Add bid2dpd_dpd2bid.o, host-ieee32.o,
270 host-ieee64.o and host-ieee128.o for BID.
271 (libdecnumber_a_SOURCES): Support DPD and BID.
272 (decimal32.o): Support dependency for both DPD and BID.
273 (decimal64.o): Likewise.
274 (decimal128.o): Likewise.
275 (bid2dpd_dpd2bid.o): New target.
276 (host-ieee32.o): Likewise.
277 (host-ieee64.o): Likewise.
278 (host-ieee128.o): Likewise.
280 * bid/bid-dpd.h: New file.
281 * bid/decimal128.c: Likewise.
282 * bid/decimal128.h: Likewise.
283 * bid/decimal32.c: Likewise.
284 * bid/decimal32.h: Likewise.
285 * bid/decimal64.c: Likewise.
286 * bid/decimal64.h: Likewise.
287 * bid/host-ieee128.c: Likewise.
288 * bid/host-ieee32.c: Likewise.
289 * bid/host-ieee64.c: Likewise.
290 * bid/bid2dpd_dpd2bid.c: Likewise.
291 * bid/bid2dpd_dpd2bid.h: Likewise.
293 * decimal128.c: Moved to ...
294 * dpd/decimal128.c: This.
295 * decimal128.h: Moved to ...
296 * dpd/decimal128.h: This.
297 * decimal32.c: Moved to ...
298 * dpd/decimal32.c: This.
299 * decimal32.h: Moved to ...
300 * dpd/decimal32.h: This.
301 * decimal64.c: Moved to ...
302 * dpd/decimal64.c: This.
303 * decimal64.h: Moved to ...
304 * dpd/decimal64.h: This.
306 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
307 Add AC_C_BIGENDIAN. Substitute enable_decimal_float.
308 * config.in: Add decimal support variables.
309 * configure: Regenerate.
312 * decimal128.h (decimal128ClearSign): New.
313 (decimal128FlipSign): Likewise.
315 * decimal32.h: (decimal32ClearSign): New.
316 (decimal32FlipSign): Likewise.
318 * decimal64.h (decimal64ClearSign): New.
319 (decimal64FlipSign): Likewise.
321 2007-03-08 Ben Elliston <bje@au.ibm.com>
323 * decContext.c, decContext.h, decDPD.h, decimal128.c,
324 decimal128.h, decimal32.c, decimal32.h, decimal64.c, decimal64.h,
325 decLibrary.c, decNumber.c, decNumber.h, decNumberLocal.h,
326 decRound.c, decRound.h, decUtility.c, decUtility.h: Add
327 libgcc-style license exception clause.
329 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
331 * Makefile.in: Add dummy install-pdf target.
333 2007-01-29 Janis Johnson <janis187@us.ibm.com>
338 2006-11-29 Janis Johnson <janis187@us.ibm.com>
340 * decRound.c: Move declarations to new file, update comments.
341 * decRound.h: New file.
343 2006-11-21 Janis Johnson <janis187@us.ibm.com>
345 * decLibrary.c (__dec_type_swap): Add prototype.
346 (__dfp_enable_traps, dfp_raise): Delete.
348 * Makefile.in: Don't include decRound in library used by compiler.
350 2006-10-10 Brooks Moses <bmoses@stanford.edu>
351 * Makefile.in: Added empty "pdf" target.
353 2006-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
355 * decNumber.c (decNumberPower): Constify.
356 * decNumber.h (decNumberPower): Likewise.
358 2006-09-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
360 * configure.ac (ACX_PROG_CC_WARNING_OPTS): Add -Wcast-qual.
361 * configure, config.in: Regenerate.
363 * decContext.c (decContextStatusToString): Constify.
364 * decContext.h (decContextStatusToString): Likewise.
365 * decNumber.c (decNumberToString, decNumberToEngString,
366 decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
367 decNumberDivideInteger, decNumberMax, decNumberMin,
368 decNumberMinus, decNumberPlus, decNumberMultiply,
369 decNumberNormalize, decNumberQuantize, decNumberRescale,
370 decNumberRemainder, decNumberRemainderNear,
371 decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
372 decNumberToIntegralValue, decNumberCopy, decToString, decAddOp,
373 decDivideOp, decMultiplyOp, decQuantizeOp, decCompareOp,
374 decCompare, decUnitCompare, decUnitAddSub, decRoundOperand,
375 decCopyFit, decSetCoeff, decGetInt, decNaNs, decGetDigits,
376 decNumberShow, decDumpAr, decCheckOperands, decCheckNumber):
378 * decNumber.h (decNumberToString, decNumberToEngString,
379 decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
380 decNumberDivideInteger, decNumberMax, decNumberMin,
381 decNumberMinus, decNumberMultiply, decNumberNormalize,
382 decNumberPlus, decNumberQuantize, decNumberRemainder,
383 decNumberRemainderNear, decNumberRescale,
384 decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
385 decNumberToIntegralValue, decNumberCopy): Likewise.
386 * decUtility.c (decDensePackCoeff, decDenseUnpackCoeff):
388 * decUtility.h (decDensePackCoeff, decDenseUnpackCoeff):
390 * decimal128.c (decimal128FromNumber, decimal128ToNumber,
391 decimal128ToString, decimal128ToEngString, decimal128Show):
393 * decimal128.h (decimal128ToString, decimal128ToEngString,
394 decimal128FromNumber, decimal128ToNumber): Likewise.
395 * decimal32.c (decimal32FromNumber, decimal32ToNumber,
396 decimal32ToString, decimal32ToEngString, decimal32Show):
398 * decimal32.h (decimal32ToString, decimal32ToEngString,
399 decimal32FromNumber, decimal32ToNumber): Likewise.
400 * decimal64.c (decimal64FromNumber, decimal64ToNumber,
401 decimal64ToString, decimal64ToEngString, decimal64Show):
403 * decimal64.h (decimal64ToString, decimal64ToEngString,
404 decimal64FromNumber, decimal64ToNumber): Likewise.
406 2006-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
408 * decContext.c (decContextSetStatusFromString): Constify.
409 * decContext.h (decContextSetStatusFromString): Likewise.
410 * decNumber.c (decNumberFromString): Likewise.
411 * decNumber.h (decNumberFromString): Likewise.
412 * decimal128.c (decimal128FromString): Likewise.
413 * decimal128.h (decimal128FromString): Likewise.
414 * decimal32.c (decimal32FromString): Likewise.
415 * decimal32.h (decimal32FromString): Likewise.
416 * decimal64.c (decimal64FromString): Likewise.
417 * decimal64.h (decimal64FromString): Likewise.
419 2006-07-25 Paolo Bonzini <bonzini@gnu.org>
422 * configure: Regenerate.
424 2006-06-23 Ben Elliston <bje@au.ibm.com>
426 * decNumber.h (decNumberNegate): Remove.
428 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
430 * Makefile.in: Add install-html target. Add install-html to .PHONY
432 2006-02-06 Ben Elliston <bje@au.ibm.com>
434 * decLibrary.c (__dec_byte_swap): Use uint32_t for argument and
437 2006-01-03 Roger Sayle <roger@eyesopen.com>
438 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
440 * decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro
441 definition of strcpy from generating compilation warnings.
443 2006-01-02 Paolo Bonzini <bonzini@gnu.org>
446 * configure.ac: Use GCC_HEADER_STDINT.
447 * decContext.h: Include gstdint.h.
448 * aclocal.m4: Regenerate.
449 * configure: Regenerate.
451 2005-12-20 Roger Sayle <roger@eyesopen.com>
453 * decNumber.c (decStrEq): Cast string contents to unsigned char
454 instead of int before calling tolower.
456 2005-12-20 Roger Sayle <roger@eyesopen.com>
458 * decNumber.c (decStrEq): Cast operands to int before calling
459 tolower to avoid compilation warnings on Tru64.
461 2005-12-05 Ben Elliston <bje@au.ibm.com>
463 * Makefile.in (clean): Remove stray reference to libcpp.a.
465 * decimal128.h, decContext.c, decRound.c, decimal32.c,
466 decNumber.c, decContext.h, decimal64.c, decimal32.h, decNumber.h,
467 decimal64.h, decUtility.c, decLibrary.c, configure.ac,
468 decNumberLocal.h, decUtility.h, decDPD.h, decimal128.c: Update FSF
471 2005-12-01 Ben Elliston <bje@au.ibm.com>
473 * Makefile.in (libdecnumber_a_SOURCES): Drop decLibrary.c.
474 * decUtility.c (__dec_byte_swap): Move from here ..
475 * decLibrary.c: .. to here.
477 2005-11-23 Gerald Pfeifer <gerald@pfeifer.com>
479 * decContext.h: Properly guard inclusion of stdint.h
480 * decContext.c: Include config.h
481 * decLibrary.c: Ditto.
482 * decNumber.c: Ditto.
484 * decUtility.c: Ditto.
485 * decimal32.c: Ditto.
486 * decimal64.c: Ditto.
487 * decimal128.c: Ditto.
489 2005-11-29 Ben Elliston <bje@au.ibm.com>
491 * decUtility.c: Remove redundant #includes.
492 * decUtility.h (__dec_byte_swap): Remove prototype.
494 2005-11-29 Ben Elliston <bje@au.ibm.com>
496 * configure.ac: New file.
497 * aclocal.m4: Likewise.
498 * Makefile.in: Likewise.
499 * configure: Generate.
500 * config.in: Likewise.
502 2005-11-29 Ben Elliston <bje@au.ibm.com>
504 * decimal32.h, decimal64.h, decimal128.h: New.
505 * decimal32.c, decimal64.c, decimal128.c: Likewise.
506 * decContext.c, decContext.h: Likewise.
507 * decUtility.c, decUtility.h: Likewise.
508 * decNumber.c, decNumber.h, decNumberLocal.h: Likewise.
509 * decDPD.h: Likewise.
510 * decLibrary.c, decRound.c: Likewise.