4 ms·
The program for calculating Pi is my favourite. "Naturally, a more accurate value can be obtained by using a bigger program." made my day.
by Deestan 17y ago
The program for calculating Pi is my favourite. "Naturally, a more accurate value can be obtained by using a bigger program." made my day.
- dmoney 17y agoThere was an obfuscated C program that worked the same way: a circle of code used to get its own area and radius. I can't seem to find it though.
- koenigdavidmj 17y agoThe Wikipedia page on the IOCCC has it. See http://en.wikipedia.org/wiki/IOCCC#Examples http://en.wikipedia.org/wiki/IOCCC#Examples
- patrickas 17y agoHere ya go http://www.cise.ufl.edu/~manuel/obfuscate/pi.c http://www.cise.ufl.edu/~manuel/obfuscate/pi.c