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

355/113 is good enough for Chuck Moore (the Forth guy).

http://www.colorforth.com/pi.htm

[edited to correct blatant error. Thanks Florin]



You mean 355/113


Spot on!

Either that or pi is a symbol and we use symbolic algebra. Just convert to the result in floating point at the last minute.

Ironically my calculator quite happily manages rational form including PI as a constant:

http://h41111.www4.hp.com/calculators/uk/en/scientific/smart...




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

Search: