Boost logo

Boost :

Subject: Re: [boost] Integral type with no upper limit?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2009-05-28 07:57:06

On Wed, May 27, 2009 at 3:18 AM, Barend Gehrels <barend_at_[hidden]> wrote:

>> Personally, I think Boost would be best served providing some sort of
>> expression template wrapper into which different arbitrary-precision
>> numbers could be plugged.
> We (Bruno and me) are creating exactly this thing. It will be finished
> soon. We will use it in our other library, GGL, but we develop it
> separately.
>> That would mean far less work to get something usable, as it could use
>> the GMP implementation initially.
> We do GMP, CLN and IEEE (so float/double/long double). So the code using
> the library will be independant of which numeric type is used, and can use
> it also for standard numeric types transparently.

FWIW, the C++ standards committee has also been wanting something like this
for a long time. There have been several proposals, but none were anywhere
near good enough. So, yes, please do consider bringing it forward to Boost.


Boost list run by bdawes at, gregod at, cpdaniel at, john at