Message from discussion
bignums in clisp
Received: by 10.180.107.167 with SMTP id hd7mr24719wib.0.1348868900901;
Fri, 28 Sep 2012 14:48:20 -0700 (PDT)
MIME-Version: 1.0
Path: q10ni20830154wif.0!nntp.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!.POSTED!not-for-mail
From: Kaz Kylheku <k...@kylheku.com>
Newsgroups: comp.lang.lisp
Subject: Re: bignums in clisp
Date: Fri, 28 Sep 2012 21:48:15 +0000 (UTC)
Organization: Aioe.org NNTP Server
Lines: 28
Message-ID: <20120928140653.318@kylheku.com>
References: <7c6cd833-2c5b-43a4-9825-7fd540ece54a@googlegroups.com>
<87627jgmta.fsf@gnu.org> <k44gnl$o33$1@news.ox.ac.uk>
<barmar-ABCFBE.16040128092012@news.eternal-september.org>
NNTP-Posting-Host: X+c6YNb3AaWMPA3YfA4opg.user.speranza.aioe.org
X-Complaints-To: abuse@aioe.org
User-Agent: slrn/pre1.0.0-18 (Linux)
X-Notice: Filtered by postfilter v. 0.8.2
On 2012-09-28, Barry Margolin <bar...@alum.mit.edu> wrote:
> In article <k44gnl$o3...@news.ox.ac.uk>,
> Ian Clifton <ian.clif...@chem.ox.ac.uk> wrote:
>
>> Sam Steingold <s...@gnu.org> writes:
>>
>> >> * ((( 1/f ))) <snqr...@tznvy.pbz> [2012-09-12 02:34:46 -0700]:
>> >>
>> >> I wanted to know how big the numbers could be for calculation, and I was
>> >> under the assumption that one could go anywhere as long as the computer
>> >> didn't crash. It appears that the limit is:
>> >>
>> >> 2^2097089 - 1 and any command will overflow beyond that. I just
>> >> calculated the
>> >> number of digits roughly in my version of clisp ( 2.48) running on a
>> >> linux box:
>> >
>> > the limits are documented here:
>> > http://www.clisp.org/impnotes/num-concepts.html#num-const
>>
>> Wow, I never realised that (in clisp) long-floats can represent even
>> bigger numbers than bignums.
>
> But not to with as much precision.
They are not "bigger", just more, err, "magnitudinous"!
Bigger means, strictly, occupying more RAM. :)