Talk:Legendre prime counting function: Difference between revisions
Talk:Legendre prime counting function (view source)
Revision as of 21:21, 12 November 2022
, 1 year ago→V and C entries giving the wrong answer for a trillion numbers: Afterthought.
(→V and C entries giving the wrong answer for a trillion numbers: Problem with n = 3 to 8.) |
(→V and C entries giving the wrong answer for a trillion numbers: Afterthought.) |
||
Line 65:
if n < u64(9) { return i64((n + 1) / 2) }
</pre> --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 20:50, 12 November 2022 (UTC)
If we do that, we can simplify the first line to:
<pre>
if n < u64(2) { return i64(0) }
</pre>
--[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 21:21, 12 November 2022 (UTC)
|