aboutsummaryrefslogtreecommitdiff
path: root/libdecnumber/dpd
AgeCommit message (Collapse)AuthorFilesLines
2024-01-03Update copyright years.Jakub Jelinek7-7/+7
2023-01-16Update copyright years.Jakub Jelinek7-7/+7
2022-10-07libdecnumber: remove unused variableMartin Liska1-2/+1
Fixes: libdecnumber/dpd/decimal64.c:617:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] libdecnumber/ChangeLog: * dpd/decimal64.c (decDigitsToDPD): Remove unused variable.
2022-01-03Update copyright years.Jakub Jelinek7-7/+7
2021-01-04Update copyright years.Jakub Jelinek7-7/+7
2020-01-01Update copyright years.Jakub Jelinek7-7/+7
From-SVN: r279813
2019-01-01Update copyright years.Jakub Jelinek7-7/+7
From-SVN: r267494
2018-01-03Update copyright years.Jakub Jelinek7-7/+7
From-SVN: r256169
2017-01-01Update copyright years.Jakub Jelinek7-7/+7
From-SVN: r243994
2016-01-04Update copyright years.Jakub Jelinek7-7/+7
From-SVN: r232055
2015-01-05Update copyright years.Jakub Jelinek7-7/+7
From-SVN: r219188
2014-01-02Update copyright years in libdecnumber/Richard Sandiford7-7/+7
From-SVN: r206294
2013-02-06Update copyright in libdecnumber.Richard Sandiford7-7/+7
From-SVN: r195821
2009-06-01decContext.h: Add extern "C" if compiling with C++.Ian Lance Taylor3-0/+24
* decContext.h: Add extern "C" if compiling with C++. * decDPD.h: Likewise. * decNumber.h: Likewise. * dpd/decimal32.h: Likewise. * dpd/decimal64.h: Likewise. * dpd/decimal128.h: Likewise. From-SVN: r148030
2009-04-09Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.Jakub Jelinek7-105/+70
From-SVN: r145841
2009-03-30Merge botch fixed.Ben Elliston6-192/+187
* decNumber.c, decNumber.h, decNumberLocal.h, decDouble.c, decDouble.h, decSingle.c, decContext.c, decSingle.h, decPacked.c, decCommon.c, decContext.h, decQuad.c, decPacked.h, decQuad.h, decDPD.h, decBasic.c: Upgrade to decNumber 3.61. * dpd/decimal128.h, dpd/decimal32.c, dpd/decimal32.h, dpd/decimal64.c, dpd/decimal128.c, dpd/decimal64.h: Likewise. From-SVN: r145274
2009-03-30Temporarily revert revision 145222.Ben Elliston6-187/+192
From-SVN: r145264
2009-03-29decNumber.c, [...]: Upgrade to decNumber 3.61.Ben Elliston6-192/+187
* decNumber.c, decNumber.h, decNumberLocal.h, decDouble.c, decDouble.h, decSingle.c, decContext.c, decSingle.h, decPacked.c, decCommon.c, decContext.h, decQuad.c, decPacked.h, decQuad.h, decDPD.h, decBasic.c: Upgrade to decNumber 3.61. * dpd/decimal128.h, dpd/decimal32.c, dpd/decimal32.h, dpd/decimal64.c, dpd/decimal128.c, dpd/decimal64.h: Likewise. From-SVN: r145222
2008-06-11dfp.c (WORDS_BIGENDIAN): Define to 0 if not defined.Joseph Myers4-6/+6
gcc: * dfp.c (WORDS_BIGENDIAN): Define to 0 if not defined. (encode_decimal64, decode_decimal64, encode_decimal128, decode_decimal128): Reverse order of 32-bit parts of value if host and target endianness differ. libdecnumber: * dconfig.h: New. * decContext.c, decExcept.c, decExcept.h, decLibrary.c, decNumber.c, decNumberLocal.h, decRound.c, dpd/decimal128.c, dpd/decimal32.c, dpd/decimal64.c: Include dconfig.h not config.h. * dpd/decimal128Local.h (decimal128SetSign, decimal128ClearSign, decimal128FlipSign): Use WORDS_BIGENDIAN not FLOAT_WORDS_BIG_ENDIAN. * bid/host-ieee128.c: Include dconfig.h. (__host_to_ieee_128, __ieee_to_host_128): Swap 64-bit halves of value if WORDS_BIGENDIAN. libgcc: * Makefile.in (DECNUMINC): Remove -I$(MULTIBUILDTOP)../../libdecnumber. * gstdint.h: New. From-SVN: r136641
2008-01-25Makefile.in (libdecnumber_a_SOURCES): List Symbols headers.Janis Johnson6-12/+30
* Makefile.in (libdecnumber_a_SOURCES): List Symbols headers. * decCommonSymbols.h: New file. * decCommon.c: Include it. * decDPDSymbols.h: New file. * decDPD.h: Include it. * decNumberLocal.h: Include the two new files. * decContextSymbols.h (DECPOWERS, DECSTICKYTAB): New. * decNumberSymbols.h (LNnn, d2utable): New. * dpd/decimal32Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New. * dpd/decimal64Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New. * dpd/decimal128Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New. * dpd/decimal32.c: Remove redefine of DPD2BIN, BIN2DPD. * dpd/decimal64.c: Ditto. * dpd/decimal128.c: Ditto. From-SVN: r131830
2007-09-10Makefile.in (libdecnumber_a_OBJS): Remove decUtility.oJanis Johnson10-1022/+1944
2007-09-10 Janis Johnson <janis187@us.ibm.com> Ben Elliston <bje@au.ibm.com> libdecnumber/ * Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o (dependencies): Add Symbols headers. * decContext.c: Upgrade to decNumber 3.53. * decContext.h: Ditto. * decDPD.h: Ditto. * decNumber.c: Ditto. * decNumber.h: Ditto. * decNumberLocal.h: Ditto. * decBasic.c: New file from decNumber 3.53. * decCommon.c: Ditto. * decDouble.c: Ditto. * decDouble.h: Ditto. * decQuad.c: Ditto. * decQuad.h: Ditto. * decSingle.c: Ditto. * decSingle.h: Ditto. * decPacked.c: Ditto. * decPacked.h: Ditto. * dpd/decimal128.c: Upgrade to decNumber 3.53. * dpd/decimal128.h: Ditto. * dpd/decimal32.c: Ditto. * dpd/decimal32.h: Ditto. * dpd/decimal64.c: Ditto. * dpd/decimal64.h: Ditto. * decLibrary.c (__dec_byte_swap): Remove. * decContextSymbols.h: New file. * decDoubleSymbols.h: New file. * decNumberSymbols.h: New file. * decPackedSymbols.h: New file. * decQuadSymbols.h: New file. * decSingleSymbols.h: New file. * decUtility.c: Delete file. * decUtility.h: Delete file. * bid/decimal128Symbols.h: New file. * bid/decimal128Local.h: New file. * bid/decimal32Symbols.h: New file. * bid/decimal64Symbols.h: New file. * bid/host-ieee128.c (__swap128): Remove. (__host_to_ieee_128, __ieee_to_host_128): Don't handle endianness. * bid/host-ieee32.c (__dec_type_swap): Remove. (__host_to_ieee_32, __ieee_to_host_32): Don't handle endianness. * bid/host-ieee64.c (__swap64): Remove. (__host_to_ieee_64, __ieee_to_host_64): Don't handle endianness. * dpd/decimal32Symbols.h: New file. * dpd/decimal64Symbols.h: New file. * dpd/decimal128Symbols.h: New file. * dpd/decimal128Local.h: New file. libgcc/ * Makefile.in (dfp-filenames): Remove decUtility, add decDouble, decPacked, decQuad, decSingle. gcc/ * dfp.c: Include decimal128Local.h; (dfp_byte_swap): Remove. (encode_decimal32, decode_decimal32): Don't handle endianness. (encode_decimal64, decode_decimal64): Ditto. (encode_decimal128, decode_decimal128): Ditto. * config/dfp-bit.c (host_to_ieee32, ieee_to_host_32): Ditto. (__swap64): Remove. (host_to_ieee_64, ieee_to_host_64): Don't handle endianness. (__swap128): Remove (host_to_ieee_128, ieee_to_host_128): Don't handle endianness. * Makefile.in (DECNUM_H): Add decimal128Local.h. Co-Authored-By: Ben Elliston <bje@au.ibm.com> From-SVN: r128350
2007-03-24Add BID decimal supportMichael Meissner6-0/+1395
Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com> Co-Authored-By: Marius Cornea <marius.cornea@intel.com> From-SVN: r123185