[plt-scheme] Large Number Exponents

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Sun Feb 7 15:06:51 EST 2010

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



Posted on the users mailing list.