Skip Menu |

This queue is for tickets about the Math-Prime-Util CPAN distribution.

Maintainer(s)' notes

The latest version is in https://github.com/danaj/Math-Prime-Util

    git clone --origin upstream git://github.com/danaj/Math-Prime-Util.git Math-Prime-Util

Comments, issues, and patches are welcome at either RT or github, or send me email.

Report information
The Basics
Id: 90598
Status: resolved
Priority: 0/
Queue: Math-Prime-Util

People
Owner: DANAJ [...] cpan.org
Requestors: DANAJ [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.34
Fixed in: 0.35



Subject: prime count broken for large values
Also affects nth_prime. Fixed on github with commit c7908aa1. perl -Iblib/lib -Iblib/arch -MMath::Prime::Util=:all -E 'say prime_count(3000000000000)' returns 108351835065 with v0.34. It should return 108340298703. The xt/primecount-many.t test will find this.
Fixed in 0.35. The new LMO implementation also works as expected.