Ilya Zakharevich on Mon, 1 Feb 1999 12:24:23 -0500

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Primelimit

On Mon, Feb 01, 1999 at 11:19:34AM +0100, Karim BELABAS wrote:
> I don't understand what you want to achieve by artificially lowering the
> number of primes available to some functions. Could you give more details ?

If I understand Gerhard correct, some functions take primelimit not as
an advice about the number of available primes, but as a directive to
loop over these primes.

Suppose I want to have a table of primes up to 1e9 (very easy with the
current PARI), say, to use forprime() with big primes.  This may
significantly slow down the functions which loop over *all* existing