[plt-scheme] Large Number Exponents
I was wondering if it was a bug or just the side effect of the implementation. I just upgraded to from 4.1.5 to 4.2.4 and it looks like it is working now. I wonder what caused it?
Thanks
--JayR
----- Original Message ----
From: Matthias Felleisen <matthias at ccs.neu.edu>
To: Jay Riddle <jcriddle4 at yahoo.com>
Cc: plt-scheme at list.cs.brown.edu
Sent: Sun, February 7, 2010 1:06:51 PM
Subject: Re: [plt-scheme] Large Number Exponents
I can't repeat this in 4.2.4.2, built a week ago:
> Welcome to DrScheme, version 4.2.4.2-svn3feb2010 [3m].
> Language: scheme.
> > (remainder (expt 4000000000 1000) 100)
> 0
On Feb 7, 2010, at 2:56 PM, Jay Riddle wrote:
>
> Why does the math on this suddenly change when I get to 4000000000?
>
>> (remainder (expt 4000000 1000) 100)
> 0
>> (remainder (expt 40000000 1000) 100)
> 0
>> (remainder (expt 400000000 1000) 100)
> 0
>> (remainder (expt 4000000000 1000) 100)
> 76
>>
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme