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

355/113 has good enough precision to aproximate pi on single precision floating point



Not quite, but close. I get the delta as one part in 2^21.8. The mantissa of a IEEE float is 24 bits (including the leading one).




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

Search: