A little of coordination for Rosettacode

bearophile bearophileHUGS at lycos.com
Tue Mar 19 10:18:00 PDT 2013


ixid:

> http://rosettacode.org/wiki/Prime_decomposition#D
>
> This will potentially return a 1 in the list of primes which is 
> a bug as 1 isn't prime.

 From Python code, hopefully more correct and much faster:

http://codepad.org/N4A7kxE1

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list