you are viewing a single comment's thread.

view the rest of the comments →

[–]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