delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/23/06:15:37

Message-ID: <39F40D8E.8DA161F@maths.unine.ch>
Date: Mon, 23 Oct 2000 12:06:06 +0200
From: Gautier <gautier DOT demontmollin AT maths DOT unine DOT ch>
X-Mailer: Mozilla 4.74 (Macintosh; U; PPC)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Large numbers
References: <5 DOT 0 DOT 0 DOT 25 DOT 1 DOT 20001023105643 DOT 009dceb0 AT mail DOT namezero DOT com>
NNTP-Posting-Host: mac13-29.unine.ch
X-Trace: 23 Oct 2000 12:08:06 +0100, mac13-29.unine.ch
Lines: 13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> Is it possible to work with numbers that are larger than the size of an
> unsigned long long int in DJGPP? (For example, 99999999999971737666) If so,
> please explain how.

You make arrays in which each element is a "classical" integer that you
treat like a digit (e.g. [0..(2**31)-1]  instead of [0..9])
You find 5 programmed models and plenty of links on that page

  http://www.chez.com/bignumber/index.html

HTH
______________________________________________________
Gautier  --  http://members.xoom.com/gdemont/gsoft.htm

- Raw text -


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