5 * Implements a terrible and hacky interface to use a virtual FPU to do floating point operations
12 extern int Start(); // Starts the VFPU
13 extern int Halt(); // Halts the VFPU
25 typedef enum {ADD=0x000, SUB=0x001, MULT=0x010, DIV=0x011, SQRT=0x100} Opcode;
26 typedef std::bitset<32> Register;
28 extern Register Exec(const Register & a, const Register & b, Opcode op); // operate with registers
29 extern float Exec(float a, float b, Opcode op); //converts floats into registers and back