Double to 64-bit integer conversion.