Comment #2 on issue 2964 by [email protected]: S.One.is_prime gives True
http://code.google.com/p/sympy/issues/detail?id=2964

S.One should certainly not be prime. But this is an assumptions system issue. The is_prime function computes the primality of its argument:

[(i, isprime(i)) for i in range(5)]
[(0, False), (1, False), (2, True), (3, True), (4, False)]


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

Reply via email to