pack two floats in single double