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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,7cda96e9413b780c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-15 06:38:56 PST Message-ID: <3D32D005.4050300@cogeco.ca> From: "Warren W. Gay VE3WWG" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Floating Decimal Package/Library? References: <3D2F0FAB.3000108@cogeco.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 15 Jul 2002 09:37:09 -0400 NNTP-Posting-Host: 198.96.47.195 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1026740211 198.96.47.195 (Mon, 15 Jul 2002 09:36:51 EDT) NNTP-Posting-Date: Mon, 15 Jul 2002 09:36:51 EDT Organization: Bell Sympatico Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Xref: archiver1.google.com comp.lang.ada:27108 Date: 2002-07-15T09:37:09-04:00 List-Id: Bj�rn Lundin wrote: > Warren W. Gay VE3WWG wrote: >>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. >> > > PostgreSQL returns everything but binary data as string, as far as I know. > Can't you convert as string to what you want? The string is not the problem. I need a decimal library to do DECIMAL FLOAT arithmetic after I get the result back from the SELECT. I do not want to send arithmetic requests to the server (in a SELECT) -- that would be very expensive. > There is a VERY rudimentary PostgreSQL package doing that here: > http://home.swipnet.se/lundin/ada_95_tools.html > > I have a better one, but it's not published yet. > > But then again, it might not be what you want > /Bj�rn Thanks for trying, but you misunderstand what I was looking for. Warren.