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 #100145: Stocalculator
by Jacob Haqq-Misra
The Stocalculator is a four-function calculator based on the C Standard Library random number generator. By the rules of the contest, the Stocalculator is considered a fully-functioning calculator by passing the official test cases in sequential order.
The Stocalculator is only guaranteed to pass these cases in the month of May, 2007. If you wish to reproduce the above test cases at another time, you must adjust your system clock accordingly. This is a feature, not a bug.