On 2016-02-05 19:59, William Stein wrote:
Maybe is_prime for field elements should just raise an exception?
This reminds me very much about the recent discussion we had about floor division... and which didn't really come to a conclusion.
It's really the same problem: you have something which makes mathematical sense but only in a way that people usually don't use it: If you're working with elements of a field, you normally won't call is_prime (even though that's well-defined) or do floor division (even though a field is trivially an Euclidean domain).
Jeroen. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.