View Single Post
Old 2010-10-14, 06:36   #10
Just call me Henry
henryzz's Avatar
Sep 2007
Cambridge (GMT/BST)

10111001001002 Posts

Originally Posted by Mini-Geek View Post
Done, attached, along with cleaner and slightly-commented code. Run it without any arguments to see how it works now. In short, "java -jar calcPrimes.jar filePath [sieveDepth]" where filePath is a NewPGen-like file with a header with the necessary info, and the sieve depth can optionally be manually set by sieveDepth.
Brilliant that's a lot less fiddling.
henryzz is online now   Reply With Quote