
7 Dec
2005
7 Dec
'05
3:13 a.m.
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