comp.lang.ada
 help / color / mirror / Atom feed
From: "Dann Corbit" <dcorbit@connx.com>
Subject: Re: Floating Decimal Package/Library?
Date: Fri, 12 Jul 2002 16:30:32 -0700
Date: 2002-07-12T16:30:32-07:00	[thread overview]
Message-ID: <agnon701t3v@enews2.newsguy.com> (raw)
In-Reply-To: bea2590e.0207121458.1bf92f6d@posting.google.com

"Robert Wessel" <robertwessel2@yahoo.com> wrote in message
news:bea2590e.0207121458.1bf92f6d@posting.google.com...
> "Warren W. Gay VE3WWG" <ve3wwg@cogeco.ca> 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

The numeric type of PostgreSQL supports thousands of digits and is decimal
rather than binary.
http://www.postgresql.org/idocs/index.php?datatype.html#DATATYPE-NUMERIC

Have you tried news:mailing.database.postgresql-novice
?

I think you must have never bothered to read the documentation.

In case that still does not do it for you, there are bazillions of arbitrary
precision packages around.  A web search or a gander at the C faq will
reveal a boatload of them.
--
C-FAQ: http://www.eskimo.com/~scs/C-faq/top.html
 "The C-FAQ Book" ISBN 0-201-84519-9
C.A.P. FAQ: ftp://cap.connx.com/pub/Chess%20Analysis%20Project%20FAQ.htm





  reply	other threads:[~2002-07-12 23:30 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-12 17:19 Floating Decimal Package/Library? Warren W. Gay VE3WWG
2002-07-12 22:58 ` Robert Wessel
2002-07-12 23:30   ` Dann Corbit [this message]
2002-07-15 13:34     ` Warren W. Gay VE3WWG
2002-07-16  5:04       ` Robert C. Leif
2002-07-16  7:01         ` tmoran
2002-07-16 15:50           ` Robert C. Leif
2002-07-17  1:24             ` tmoran
2002-07-17  2:53               ` Robert C. Leif
2002-07-17  4:41                 ` tmoran
2002-07-17 16:30                   ` Warren W. Gay VE3WWG
2002-07-17 22:09                     ` tmoran
2002-07-29 17:05                       ` Warren W. Gay VE3WWG
2002-07-29 17:41                         ` tmoran
2002-07-30  8:58                           ` Jean-Pierre Rosen
2002-07-30 16:20                           ` John H. Lindsay
2002-07-16 16:32           ` Pascal Obry
2002-07-16 17:53           ` Warren W. Gay VE3WWG
2002-07-17  1:24             ` tmoran
2002-07-17  8:28               ` Vadim Godunko
2002-07-17 13:32                 ` Warren W. Gay VE3WWG
2002-07-22 23:33                   ` Robert I. Eachus
2002-07-23 13:16                     ` Marin David Condic
2002-07-24 15:18                       ` Darren New
2002-07-24 15:43                         ` Hyman Rosen
2002-07-24 16:17                         ` Fraser Wilson
2002-07-17 13:30               ` Warren W. Gay VE3WWG
2002-07-13 21:55 ` Björn Lundin
2002-07-15 13:37   ` Warren W. Gay VE3WWG
2002-07-17 21:56 ` Waldek Hebisch
2002-07-18 14:13   ` Robert C. Leif
2002-07-19 14:41     ` Waldek Hebisch
2002-07-19 17:29   ` Warren W. Gay VE3WWG
2002-07-19 21:50     ` Waldek Hebisch
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox