delorie.com/archives/browse.cgi | search |
X-Sent: | 23 Oct 2000 12:25:40 GMT |
Message-Id: | <5.0.0.25.1.20001023142554.009d94b0@mail.namezero.com> |
X-Sender: | mithrandi DOT net AT mail DOT namezero DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 5.0 |
Date: | Mon, 23 Oct 2000 14:26:56 +0200 |
To: | djgpp AT delorie DOT com |
From: | Mithrandi <mithrandi AT mithrandi DOT net> |
Subject: | Re: Large numbers |
In-Reply-To: | <39F40D8E.8DA161F@maths.unine.ch> |
References: | <5 DOT 0 DOT 0 DOT 25 DOT 1 DOT 20001023105643 DOT 009dceb0 AT mail DOT namezero DOT com> |
Mime-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
At 12:06 10/23/00 +0200, you wrote: > > 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 Well I found an easy(er) way of doing it that solved my problems perfectly. The Integer class... supports really really really big numbers, and is in libgpp. Mithrandi
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |