Talk:Emirp primes: Difference between revisions
Content added Content deleted
No edit summary |
(Removed note on C entry because single digit numbers can't be Emirp primes.) |
||
Line 14: | Line 14: | ||
::I'd like this requirement to be removed. The C entry shows that that requirement makes the code unnecessarily hairy. The D entry has a simpler main function, that is more similar to most other Rosettacode Tasks. The point of this entry is to compute Emirp numbers.[[User:Bearophile|bearophile]] ([[User talk:Bearophile|talk]]) |
::I'd like this requirement to be removed. The C entry shows that that requirement makes the code unnecessarily hairy. The D entry has a simpler main function, that is more similar to most other Rosettacode Tasks. The point of this entry is to compute Emirp numbers.[[User:Bearophile|bearophile]] ([[User talk:Bearophile|talk]]) |
||
==C Entry== |
|||
The is_prime function in the C entry seems to give a wrong result for the inputs 1 2 3 5 7. |