From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1014db,7cda96e9413b780c X-Google-Attributes: gid1014db,public X-Google-Thread: 109fba,7cda96e9413b780c X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,7cda96e9413b780c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-12 15:58:29 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: robertwessel2@yahoo.com (Robert Wessel) Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Subject: Re: Floating Decimal Package/Library? Date: 12 Jul 2002 15:58:29 -0700 Organization: http://groups.google.com/ Message-ID: References: <3D2F0FAB.3000108@cogeco.ca> NNTP-Posting-Host: 208.200.57.161 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1026514709 10798 127.0.0.1 (12 Jul 2002 22:58:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 12 Jul 2002 22:58:29 GMT Xref: archiver1.google.com comp.lang.ada:27030 comp.lang.c:138239 comp.lang.c++:158903 Date: 2002-07-12T22:58:29+00:00 List-Id: "Warren W. Gay VE3WWG" wrote in message news:<3D2F0FAB.3000108@cogeco.ca>... > Since the PostgreSQL group have expressed no > interest in supporting floating decimal > routines for the client, I wonder if anyone > in these groups know of an Ada package (preferred), > or C/C++ library that supports arbitrary > prcecision floating decimal values. I could > hack the PostgreSQL back end C routines, but > this may not be practical. > > The GNU GMP library comes close, but its > floating support library uses binary > arithmetic (this is a no-no for financial > work). I've suggested that they augment GMP > with this support, but I'm not sure what > response I'll get to the request. > > I am looking for a PD/GPL/Open Sourced work. You may be able to find something from here: http://www2.hursley.ibm.com/decimal/ The decNumber package looks like it might meet your requirements, although I don't know how it's licensed: http://www.alphaworks.ibm.com/tech/decNumber