I'm trying to add WE32106 Math Accelerator support to my 3B2 emulator. So far so good, but I feel dirty: My code assumes floating point types are stored in IEEE-754 format in memory. The C standard guarantees no such thing.
I mean... so far it works? But there's no guarantee it will work on every platform, or even with every compiler.
Gross.
ALSO ALSO ALSO ALSO:
Fuck floating point. Fuck it right in the nose.