delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/01/01:44:56

Sender: nate AT cartsys DOT com
Message-ID: <37A3A8B0.89C06415@cartsys.com>
Date: Sat, 31 Jul 1999 18:53:52 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.10 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Unlimited size integers
References: <199907311254 DOT IAA21699 AT delorie DOT com>
Reply-To: djgpp AT delorie DOT com

Dan Gold wrote:
> 
> Could someone give me one good reason why you would ever need an unlimited
> size int? Are you trying to calculate PI?

You've just given yourself one. :)

Any calculation that requires larger numbers than long long int and more
precision than long double.  (Given unlimited size ints, you can have
unlimited size floating point or rational values.)  Astronomy surely has
some applications, as well as number theory and cryptography (think of
things like large primes).
-- 

Nate Eldredge
nate AT cartsys DOT com


- Raw text -


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