Boost logo

Boost :

Subject: Re: [boost] [Review Request] Multiprecision Arithmetic Library
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2012-04-03 09:01:54


On Tue, Apr 3, 2012 at 4:49 AM, John Maddock <boost.regex_at_[hidden]> wrote:

> Just a crazy idea ... what about if the exponent is a big integer as
>> well? And the mantissa ... guess you can go all crazy, hope this is
>> supported by the library!
>>
>
> Not yet, but not impossible (other than it messing up
> std::numeric_limits<>::max_exponent). Of course making the mantissa
> arbitrary precision is definitely not possible - unless you can tell me how
> exactly many digits Pi has ;-)
>

Well I'd imagine that maybe you could evaluate the precision of, e.g., pi
on-demand and lazily. I would consider that a form of arbitrary precision.
I'd also imagine such a technique outside the (present) scope of this
library.

- Jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk