www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/10/02:45:36

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

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019