Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2005-12-06 22:13:54


Hartmut Kaiser wrote:
>
> Joel de Guzman wrote:
>
>
>>>Could you point me to this library, please? I'ld like to
>>
>>try to put it into
>>
>>>Wave to support cross compilation and/or configurable
>>
>>precision support.
>>
>>IMO, you do not need an arbitrary precision integer. All you
>>need is a fixed precision integer (64, 128 or 256 bits). That
>>is a lot faster to operate on. There are lots of such libraries
>>and it's easy to write one. Surely, you do not need to compute
>>things like PI to a million decimal places ;-)
>
>
> Do you have something particular in mind?

gcc uses some special doubleword arithmetic using a pair of values
for this case.
FWIW,
                Stefan


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