|
Boost : |
Subject: Re: [boost] Numeric constants
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2009-01-30 09:55:06
> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
On
> Behalf Of John Maddock
> Sent: 30 January 2009 11:09
> To: boost_at_[hidden]
> Subject: Re: [boost] Numeric constants
>
> > One question I have is the precision needed. My current set are 50
> > decimal
> > digits, more than enough for any foreseeable floating point hardware.
> > John's current code in the Boost.Math package allows much more, and the
> > constants now defined are to 100 decimal digits. This allows really
> > accurate computation using an arbitrary precision system like Victor
> > Shoup's
> > NTL (GPL License) (or a Boost equivalent if we can produce one - a GSoC
> > project?).
> >
> > My question is - what precision would be useful?
>
> Not sure, but I guess if we got organised (Ha!), we could generate them
> programatically using arbitrary precision arithmetic and just tweek the
> precision as required?
Well I have part of that already to generate the stuff I produced before.
But for the Boost release, I would hope we can settle for 50 (or 100)
decimal digits.
Paul
--- Paul A. Bristow Prizet Farmhouse Kendal, UK LA8 8AB +44 1539 561830, mobile +44 7714330204 pbristow_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk