Talk:Emirp primes: Difference between revisions

no edit summary
(→‎reason for 3 invokes: the shy and whyfors.)
No edit summary
Line 12:
::* a specific emirp prime.
To do so would require parsing the specified numbers (and/or options), determine if a range of values or specific emirp primes were wanted, or if only a specific emirp prime was wanted.   Using a nonsense word to trigger which requirement was to be satisfied wasn't even envisioned.   I'm sorry if that wasn't made clearer, I was trying to keep the wording of the task requirements simple and short, and have the encapsulating computer program make the decisions on how to show desired emirp primes.   Specifying particular numbers just made the comparing of the various outputs much simpler (and consistent). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 09:54, 24 March 2014 (UTC)
 
::I'd like this requirement to be removed.
 
 
==C Entry==
The is_prime function in the C entry seems to give a wrong result for the inputs 1 2 3 5 7. 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.