Mail Archives: djgpp/1997/02/11/15:10:56
David A. Scott wrote:
>
> I was wondering are there any large number integer
> C routines for DJGPP C out there that are free to use?
For C the largest buildin integer type is 'long long',
which is a 64 bit integer. If you need larger integers
you can use (but this needs to write C++ code) the
"class Integer" from libgplus, which allows you to
use an infinity large integer. (limited only by the
available memory).
I used it already together with the "Rational" class,
which works perfect for writing math programs, which
use rational numbers.
Robert
--
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post: Am Berg 3, D-09573 Dittmannsdorf *
* e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE *
* WWW: http://www.tu-chemnitz.de/~rho *
*****************************************************************
- Raw text -