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 #100289: ParanoiaCalc

by Vita Szabolcs
The paranoia in this calculator is that we cannot assume that every computer and every compiler works with the IEEE 754 floating-point standard. So extra care was taken to make it as platform-independent as possible. (yes, of course..)

I was not aiming at the 2. criteria (buggy), but mostly at the 3rd one (clever)

I did not want to obfuscate with #defines, neither to create threads and stuff like that just to add new sources of WTFs and bugs. Everything, every (khmmm.. well.. almost every) line in the program has a USEFUL purpose, and addig more would decrease the efficiency!
And the t

Download0 Comments