Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: