Topic: Extended Double ?


Author: warwick@cs.uq.oz.au (Warwick Allison)
Date: 8 Oct 92 03:01:49 GMT
Raw View
ddv@unix.brighton.ac.uk (Domenico De Vitto) writes:

>Is there a any classes anywhere that allow greater presision than long double?

The class Rational in libg++ may be what you are looking for.  It is built
using the libg++ class Integer (an infinite precision int).


--
Warwick
--
  _-_|\      warwick@cs.uq.oz.au            /Disclaimer:
 /     * <-- Computer Science Department,  /
 \_.-._/     University of Queensland,    /   C references are NULL && void*
      v      Brisbane, Australia.        /




Author: ddv@unix.brighton.ac.uk (Domenico De Vitto)
Date: 5 Oct 92 11:42:42 GMT
Raw View
Is there a any classes anywhere that allow greater presision than long double
?

Ideally one where only memory was a limit would be best.

Surely _somone_ has written something like this ?

TIA,

Dom De Vitto




Author: sakkinen@jyu.fi (Markku Sakkinen)
Date: 5 Oct 92 13:46:16 GMT
Raw View
In article <1992Oct5.114242.15590@unix.brighton.ac.uk> ddv@unix.brighton.ac.uk (Domenico De Vitto) writes:
>
>Is there a any classes anywhere that allow greater presision than long double
>?
>
>Ideally one where only memory was a limit would be best.
> ...

Hmm:  already calculating 1./3. would then exhaust memory.
I think that unlimited-precision _rational_ arithmetic packages
have been built for several languages (don't know about C++).

----------------------------------------------------------------------
Markku Sakkinen (sakkinen@jytko.jyu.fi)
       SAKKINEN@FINJYU.bitnet (alternative network address)
Department of Computer Science and Information Systems
University of Jyvaskyla (a's with umlauts)
PL 35
SF-40351 Jyvaskyla (umlauts again)
Finland
----------------------------------------------------------------------