Aurel Page on Tue, 06 Jan 2026 21:24:11 +0100


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

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


On 06/01/2026 20:59, hermann@stamm-wilbrandt.de 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