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 #100204: Ecumenicalculator

by Paul Kuliniewicz
I was dismayed that the GTK-based submissions will be tested on NetBSD. As a user of Debian, how can I be sure my code will work on NetBSD? I know next to nothing to NetBSD. Apparently it has a C++ compiler, and runs GTK. But what else? Does it suffer from the infamous FDIV bug? Can it do floating point? What about integer arithmetic? Heck, what about integers?

Deciding to play it safe, I implemented my own numbers.

Nowhere in the backend files that get linked in will you find *any* ints, shorts, longs, floats, or doubles, or any operations on them. I use what the STL provides,

Download0 Comments