About The Contest
The first ever Olympiad of Misguided Geeks contest at Worse Than Failure (or OMGWTF for short) is a new kind of programming contest. Readers are invited to be creative with devising a calculator with the craziest code they can write. One lucky and potentially insane winner will get either a brand new MacBook Pro or comparable Sony VAIO laptop.
Entry #100077: Infinite-Precision Calculator 1.0
by Mike Marsh
The Infinite-Precision Calculator 1.0 is capable of representing real numbers with as many decimal places as your machine has the memory to store.
It compiles cleanly. It is guaranteed free of memory errors (courtesy of valgrind). The mathematical engine is completely documented using Doxygen, making the code design sufficiently transparent that even a layman can understand the programming logic.
And one time, it saved a drowning puppy.
All this, and it was coded in one evening, merely awaiting the arrival of the Gtk+ front-end.