Mainframe floating point math implementation.