you are viewing a single comment's thread
view the rest of the comments
[–] 35 points 6 months ago (1 child)

I suppose because about 5% of numbers are actually prime numbers, so false is not the output an algorithm checking for prime numbers should return

  • source
  • parent
  • hideshow 2 child comments
  • [–] 11 points 6 months ago (1 child)

    Oh I'm with you, the tests are precalculated and expect a true to return on something like 99991, this function as expected returns false, which throws the test into a fail.

    Thank you for that explanation

  • source
  • parent
  • hideshow 2 child comments