#5130: [with patch; positive review] 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-4.0
Component: number theory | Keywords:
---------------------------+------------------------------------------------
Comment(by cwitty):
I wouldn't worry about the correctness/portability of sqrt_longlong. It
uses sqrt() (not sqrtl()), which is exactly specified by IEEE floating
point (no room for implementation differences in the spec), so it should
be portable; and it has a built-in self-test, so if something goes wrong
we'll get exceptions.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5130#comment:19>
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
-~----------~----~----~----~------~----~------~--~---