On Oct 20, 2:04 pm, llothar <[EMAIL PROTECTED]> wrote: > > I love math. I respect Math. I'm nothing but a menial servant to > > Mathematics. > > Programming and use cases are not maths. Many mathematics are > the worst programmers i've seen because they want to solve things and > much more often you just need heuristics. Once they are into exact > world they loose there capability to see the factor of relevance in > algorithms. > > And they almost never match the mental model that the average > user has about a problem.
I read somewhere that for large primes, using Fermat's Little Theorem test is *good enough* for engineers because the chances of it being wrong are less likely than a cosmic particle hitting your CPU at the exact instant to cause a failure of the same sort. This is the primary difference between engineers and mathematicians. -- http://mail.python.org/mailman/listinfo/python-list