Re: mt19937 large integers, was: Re: RANDOM() and RANDOM(FALSE) probl em
Subject: Re: mt19937 large integers, was: Re: RANDOM() and RANDOM(FALSE) probl em
From: Robert Dodier
Date: Wed, 12 Jan 2005 08:35:45 -0800 (PST)
Hello,
I've modified rand-mt19937.lisp to construct large integers
by concatenating chunks without overlap and without throwing
away bits. I've run some tests and so far as I can see I
haven't goofed up anything. I'll run some more tests but in
the meantime the most recent rev is here:
http://maxima.sf.net/wiki/index.php/Modified%20MT%2019937%20rng
I also pasted in the package declarations suggested by Peter Scott
and that makes compile-file work for CMUCL, Clisp, & GCL.
Although the compiled file doesn't run any faster in GCL;
that seems slightly odd.
For what it's worth,
Robert Dodier
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com