Mail Archives: djgpp/1998/02/10/02:45:36
Dim Zegebart <zager AT post DOT comstar DOT ru> writes:
> Michael Matczynski wrote:
> >
> > I am doing a program that calculates prime numbers, so the bigger the
> > better. Is there any way I can get a 4 or 8 byte integer in DJGPP?
>
> Some weeks ago I saw an announce of djgpp-port of math lib which allows
> to use numbers of any size to do calculations. Unfortunately, I can't
> find the name of this lib, hope someone can.
If you are using C++, there is `multiple precision Integer class':
info libg++ Integer
(probably it is libgxx for DJGPP).
GCC supports 64-bit integers (to be precise -- integers twice as long
as `long int'), see:
info gcc "c ext" "long long"
- Raw text -