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

Besides the slowness of such a solution, that condition is not enough to ensure the first five decimal places are correct.


If you are told the formula to use, you use it. No, it's not the bestest way ever of finding pi. It's to make sure the guy sitting across from you can actually write code, which a scary number of people actually cannot do.




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

Search: