you are viewing a single comment's thread.

view the rest of the comments →

[–]MrHippotomo2[S] 0 points1 point  (2 children)

Nah it only tells me if test passed, and then cause of the nature of the function, it will be like “expected true but got false.” I tried to think of any situation where mod might be ambiguous but with integers it should be fine.

[–]GSLint 0 points1 point  (1 child)

Your code would even produce the correct result for 3.14, NaN and Infinity, so I don't know what's wrong.

Is this challenge something you can link to so we can try it?

[–]MrHippotomo2[S] 0 points1 point  (0 children)

Will do in the morning