4 ms·
Another fun circular-math-in-code is from early IOCCC. It approximates pi by calculating the area and diameter of the circle in the code. https://www.cise.ufl.e
by erichurkman 6y ago
Another fun circular-math-in-code is from early IOCCC. It approximates pi by calculating the area and diameter of the circle in the code. https://www.cise.ufl.edu/~manuel/obfuscate/pi.c https://www.cise.ufl.edu/~manuel/obfuscate/pi.c
Explainer: https://codeexplainer.wordpress.com/2017/08/27/underscore-pi/ https://codeexplainer.wordpress.com/2017/08/27/underscore-pi...