Re: isprime() runtime jump between 10^18 and 10^20?

Aurel Page <[email protected]> Tue, 6 Jan 2026 21:24:07 +0100
Newsgroups gmane.comp.mathematics.pari.user
Message-ID <[email protected]>
On 06/01/2026 20:59, [email protected] wrote:
> Thanks for the explanation. But long is a signed type, shouldn't the 
> transition from long to t_INT happen at +2^63?
Indeed, I meant ulong. For primality testing the sign can be (and is 
therefore) discarded.

Cheers,
Aurel