#5130: [with patch; needs work] create a prime_pi function that doesn't just
compute len(prime_range(n))
---------------------------+------------------------------------------------
 Reporter:  was            |        Owner:  was     
     Type:  defect         |       Status:  new     
 Priority:  major          |    Milestone:  sage-3.3
Component:  number theory  |   Resolution:          
 Keywords:                 |  
---------------------------+------------------------------------------------
Comment (by mabshoff):

 It is not "trouble porting wise", it is that long double functions are not
 guaranteed by the C99 standard to have any more precision that the double
 version of the same function. cwitty pointed out that also double and
 float implementations commonly return the same result, so if you want
 guaranteed results use gmp or mpfr - everything else plainly sucks.

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5130#comment:8>
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