Message361221
Tim: Considering that congruence is _defined_ as x=y(mod m) :<=> m|y-x, it's really not so surprising. :-)
Steven: It seems that we completely agree about inclusion of is_probabilistic_prime in stdlib. And we agree that it should be called isprime (or is_prime if Raymond names it;). About the bikeshedding, see Tim's comment. :-P
About absolutely correct algorithms: first, what exactly is your claim? If it's "I can write an algorithm in pure Python that can for every number of 397 digits mathematically exactly determine whether it is prime in under 6 seconds", I'd very much like to see that algorithm. (I guess it must be publicly available, since we're speaking about inclusion in Python stdlib.) I really don't have much expertise in number theory that I can be convinced it doesn't exist, but I very much doubt it. |
|
Date |
User |
Action |
Args |
2020-02-02 07:52:28 | veky | set | recipients:
+ veky, lemburg, tim.peters, rhettinger, mark.dickinson, vstinner, stutzbach, steven.daprano, serhiy.storchaka, Ananthakrishnan |
2020-02-02 07:52:28 | veky | set | messageid: <1580629948.16.0.268853784976.issue39479@roundup.psfhosted.org> |
2020-02-02 07:52:28 | veky | link | issue39479 messages |
2020-02-02 07:52:27 | veky | create | |
|