Eros,
For these commands to work you would need that gigantic primes file. For all 32-bit primes it's 98.2 megabytes. Zipped it's still well over 80 megabytes so including it in a thinBasic release is not workable. Supplying the compiled PowerBASIC program (10 kBytes) to generate the primes file is of course possible but that generates its own problems.
Apart from the loading of that file there is also the need to create a 5760-entry table before that file can be processed. That doesn't take too long in compiled form but the overhead is still there.
But if you still think this is interesting for the thinBasic core I will write the necessary code. After I finish my BigInt module, because this was "just" an intermezzo.
Bookmarks