Working 64 bit float to 32 bit double field algorithim