On 30 March 2018 at 09:22, Simon King <simon.k...@uni-jena.de> wrote:

> On 2018-03-30, Volker Braun <vbraun.n...@gmail.com> wrote:
> > The obvious answer: Show a warning if you test field elements for
> primality
> > * easy to implement using standard Python machinery
> > * does not introduce backward-incompatibile changes
> > * is mathematically correct
> > * informative to casual users
> > * unlikely to give spurious warnings in existing code
>

I don't think this will satisfy Ralf's casual user who will see 100
warnings output from their loop and not find any of the primes they were
hoping for.

I don't think anyone here would argue with the statement "3 is a prime
number" being a correct mathematical statement.

This might confuse the issue even more:

sage: is_even(4/2)
True
sage: is_even(6/2)
False

while

sage: is_even(5/2)

raises a zero-division error!


>
> +1
>
> --
> 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.
>

-- 
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.

Reply via email to