Twin Primes Segmented Sieve of Zakiya (SSoZ) Explained

Salih Dincer salihdb at hotmail.com
Sat Jun 18 23:44:27 UTC 2022


On Saturday, 18 June 2022 at 21:01:04 UTC, kdevel wrote:
> - Have you tried to compile your code with dmd/gdc before 
> pasting?

Yes I did.  Could the error be because you didn't copy the 
`sqrt()` function?

On Saturday, 18 June 2022 at 21:01:04 UTC, kdevel wrote:
> - I can't read the 2.iota-stuff. Are you trying to avoid 
> writing a raw for-loop?

`iota()` and `each()` are essential. But it needs some experience 
to find the error in `each()`.

SDB at 79


More information about the Digitalmars-d mailing list