[Python-ideas] Add the imath module
Jeroen Demeyer
J.Demeyer at UGent.be
Fri Jul 13 08:44:55 EDT 2018
On 2018-07-13 14:11, Steven D'Aprano wrote:
> What it *actually* does is:
>
> is_almost_certainly_prime_except_for_a_ludicrously_microscopic_chance_of_error_thousands_of_times_less_likely_than_a_stray_cosmic_ray_flipping_a_bit_in_memory_and_causing_the_wrong_result_to_be_returned()
That's just a long variant of is_probable_prime()
> If your bank is satisfied with "mere probable prime number" to transfer
> billions of dollars around the world, then I'm sure that the users of
> Python's std library should be too.
That's besides the point. I agree that probable primes are good enough,
just don't call them "prime".
More information about the Python-ideas
mailing list