Hacker News new | comments | show | ask | jobs | submit login

Hmm. Could you post the code for your corrected version?

I tried to find where a NaN would be introduced in the C++ and Java code, but I can't really spot it. The equation only has adds, multiplies, and divides, no negative numbers, and no divides by zero that I can see.

If you show me where the problem is, it wouldn't take me too long to re-run everything with the corrected code and update the results.

Applications are open for YC Winter 2018

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact