#3658: [with patch, needs review] A PARI bug results in an unreliable prime_pi
---------------------------+------------------------------------------------
 Reporter:  fwclarke       |        Owner:  craigcitro
     Type:  defect         |       Status:  assigned  
 Priority:  minor          |    Milestone:  sage-3.4.1
Component:  number theory  |   Resolution:            
 Keywords:                 |  
---------------------------+------------------------------------------------
Changes (by craigcitro):

  * owner:  was => craigcitro
  * status:  new => assigned
  * summary:  A PARI bug results in an unreliable prime_pi => [with patch,
              needs review] A PARI bug results in an
              unreliable prime_pi

Comment:

 The attached patch fixes the issue. This was a strange case -- in some
 cases, Pari is more than happy to return an (incorrect!) answer when you
 call `primepi` with a number larger than the prime limit. This patch fixes
 this in a uniform way.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3658#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to