Comment #8 on issue 2964 by smi...@gmail.com: S.One.is_prime gives True
http://code.google.com/p/sympy/issues/detail?id=2964

If we are going to use isprime then we should put a test that n is less than 10**16 so the answer is always True. From the docstring:

"Test if n is a prime number (True) or not (False). For n < 10**16 the
answer is accurate; greater n values have a small probability of actually
being pseudoprimes."

We must "refuse the temptation to guess (or hope)" that the answer will be correct.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to