Re: [Python-ideas] Add the imath module

July 13, 2018
12:43 p.m.
On 2018-07-13 14:26, Steven D'Aprano wrote:
I'm pretty sure that Sage is using numpy
This computation uses PARI/GP, a dedicated library for number theory (https://pari.math.u-bordeaux.fr/) with a Python interface (https://github.com/defeo/cypari2).
It's an actual primality test, not a probable primality test. But for numbers which are not prime (like your examples), the difference doesn't actually matter.
2441
Age (days ago)
2441
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jeroen Demeyer