Legendre prime counting function: Difference between revisions
Content added Content deleted
(→{{header|Phix}}: added a non recursive partial sieve version) |
m (→Non-recurive partial sieve: sp) |
||
Line 2,855: | Line 2,855: | ||
</pre> |
</pre> |
||
<small>(It is about 4 times slower under pwa/p2js so output is limited to 10^8, unless you like staring at a blank screen for 52s)</small> |
<small>(It is about 4 times slower under pwa/p2js so output is limited to 10^8, unless you like staring at a blank screen for 52s)</small> |
||
=== Non- |
=== Non-recursive partial sieve === |
||
<!--<syntaxhighlight lang="phix">(phixonline)--> |
<!--<syntaxhighlight lang="phix">(phixonline)--> |
||
<span style="color: #008080;">with</span> <span style="color: #008080;">javascript_semantics</span> |
<span style="color: #008080;">with</span> <span style="color: #008080;">javascript_semantics</span> |