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.

Navigation

Advertisements

Entry #100202: No floating point

by Mirno
Implemented my own floating point operator (except fdiv, because I ran out of time, and Intel can't get it wrong twice right?).
I've implemented my own adder, and used it for the fp functions, but quite happily use the normal maths functions in the rest of the code.

Also just for fun I've got a settings.xml file to define where the buttons go, what function they have, and the text on them. You know, just in case you wanted to have two "5" buttons or something.
Seeing as it's an xml file, I just have a couple of xml nodes, which contain ":" delimited strings. Kind of like wrapping an ini f

Download0 Comments