gmpy icon indicating copy to clipboard operation
gmpy copied to clipboard

gmpy2 Sieve Example Code Problem

Open Landryj opened this issue 7 months ago • 10 comments

When I run the Sieve of Eratosthenes example code (Python 3.11.5, Win 11 Pro, VS Code editor, RAM-32GB), it fails at around 4.5*10^9. The error message is: "gmp: overflow in mpz type". I've also run the code with WSL on a machine with nearly 200GB RAM. Previously, I've had gotten more extensive messages previously. image

Landryj avatar Jul 13 '24 17:07 Landryj