Sender: M DOT A DOT Bukin AT inp DOT nsk DOT su To: djgpp AT delorie DOT com Subject: Re: 8 Byte Integer References: <3 DOT 0 DOT 32 DOT 19980207131923 DOT 0083a980 AT dataplusnet DOT com> <34DE964F DOT 39E2 AT post DOT comstar DOT ru> Reply-To: M DOT A DOT Bukin AT inp DOT nsk DOT su From: M DOT A DOT Bukin AT inp DOT nsk DOT su Date: 10 Feb 1998 13:43:42 +0600 In-Reply-To: Dim Zegebart's message of Mon, 09 Feb 1998 08:38:23 +0300 Message-Id: <20sopr52hd.fsf@Sky.inp.nsk.su> Lines: 21 Precedence: bulk Dim Zegebart 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"