Legendre prime counting function: Difference between revisions

→‎{{header|FreeBASIC}}: incorrect; doesn't fill requirements of task...
(Added FreeBASIC)
(→‎{{header|FreeBASIC}}: incorrect; doesn't fill requirements of task...)
Line 1,169:
 
=={{header|FreeBASIC}}==
 
{{incorrect|FreeBASIC|This is not a Legendre prime counting function but a very inefficient trial division (`Mod`) sieve.}}
 
<syntaxhighlight lang="vbnet">Function isPrime(n As Uinteger) As Boolean
Dim As Uinteger i
474

edits