#11475: improve prime_pi (speedup + small fixes)
-----------------------------+----------------------------------------------
Reporter: rohana | Owner: was
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7.1
Component: number theory | Keywords: primes, prime counting, prime_pi
Work_issues: | Upstream: N/A
Reviewer: | Author: R. Andrew Ohana
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Comment(by leif):
Replying to [comment:37 rohana]:
> Replying to [comment:35 leif]:
> > Replying to [comment:33 rohana]:
> > > I have verified that `prime_pi` gives correct output for `i*10**12`
with `0 <= i <= 1000` on x86_64 :).
> >
> > Besides a couple of other values on individual machines,
> Which machines have you had issues with?
Oh, I didn't get any wrong results; I just meant I've also tested
`prime_pi(x)` with some "random" values (besides the mentioned powers of 2
and ten), but not systematically on all machines (all Linux boxes;
Pentium4 Northwood, P4 Prescott and Core2).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11475#comment:38>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
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.