Floating Point Converter

Converts a real number (except 0) to a Microchip 24 bit FP number.

Has no error checking! Does not handle zero gracefully. Instead, use:

Exponent  = 0x00
High Byte = 0x00
Low Byte  = 0x00

Enter number