#7539: primes.p0.spkg with "prime_sieve.c" functionality
-----------------------------+----------------------------------------------
   Reporter:  GeorgSWeber    |       Owner:  rohana             
       Type:  enhancement    |      Status:  new                
   Priority:  major          |   Milestone:  sage-4.3.1         
  Component:  number theory  |    Keywords:                     
Work_issues:                 |      Author:  rohana, GeorgSWeber
   Upstream:  N/A            |    Reviewer:                     
     Merged:                 |  
-----------------------------+----------------------------------------------

Comment(by leif):

 Replying to [comment:11 leif]:
 > Now going to extend its domain further up to 2^64^-1...


 {{{
         pi(10000000000000000000)=234057667276344607     # ok
         pi(10000100000000000000)=234059953037027338     # ok (sieved)
         pi(10001000000000000000)=234080524854508201
         pi(10002000000000000000)=234103382381000184
         pi(10003000000000000000)=234126239852389526
         pi(10004000000000000000)=234149097272730775
         pi(10005000000000000000)=234171954644081388
         pi(10006000000000000000)=234194811963658747
         pi(10007000000000000000)=234217669226973010
         pi(10008000000000000000)=234240526435037954
         pi(10009000000000000000)=234263383594121363
         pi(10010000000000000000)=234286240703110411     # ok
         pi(18440000000000000000)=425504257754137607     # ok
         pi(18441000000000000000)=425526800039801658
         pi(18442000000000000000)=425549342293840481
         pi(18443000000000000000)=425571884521908383
         pi(18444000000000000000)=425594426720237587
         pi(18445000000000000000)=425616968892901351
         pi(18446000000000000000)=425639511036514638
         pi(18446100000000000000)=425641765249620069
         pi(18446200000000000000)=425644019461402605
         pi(18446300000000000000)=425646273676018091
         pi(18446400000000000000)=425648527886817884
         pi(18446500000000000000)=425650782098479434
         pi(18446600000000000000)=425653036308859193
         pi(18446700000000000000)=425655290520421050
         pi(18446744073709551615)=425656284035217743     # ok

 }}}

 Happy validating... ;-)

 ''"You just need a computer with a pentium or equivalent chip, turning on
 windows 95, 98 or NT. ..."'' [Xavier Gourdon about his "fastpix11"]

 (Still cleaning up the code.)

 -Leif

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


Reply via email to