Oops,
Patch contains stupid typo. The docstring for precprime(gen self)
should be
precprime(x): *largest* pseudoprime <= x
Michel
On Jun 9, 9:06 pm, Michel <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Attached is a patch that fixes these inconsistencies. It also
> introduces previous_probable_prime()
Hi,
Attached is a patch that fixes these inconsistencies. It also
introduces previous_probable_prime() to be consistent
with next_probable_prime()
next/previous_prime with proof True now call pari.nextprime,
pari.precprime. This is not much faster but it does make for more
elegant code.
http://