On Tue, Mar 23, 2010 at 06:18:23PM -0700, Andres Valloud wrote:
You can look at the bottom of the prime table in VisualWorks and see an expression that finds them from scratch (but note that isPrime *MUST BE DETERMINISTIC*).
Andres,
Is this a reference to the #isPrime in Squeak trunk, which calls #isProbablyPrime for LargePositiveInteger? If so, can you say if there is any difference in the actual results of computing a prime table with a Squeak trunk image compared to the VisualWorks results?
If there is an difference in the results in Squeak versus VisualWorks, this would be important to know.
Thanks, Dave