Search the Community
Showing results for tags 'int64'.
Trying to do some math with 64 bit and noticed math was not coming out right. Local $tDec = DllStructCreate("int64 num") $tDec.num = 0xDEADBEDDEADBED ConsoleWrite('Before:' & $tDec.num & @CRLF); $tDec.num = $tDec.num / 1 ConsoleWrite(' After:' & $tDec.num & @CRLF); This is generating: Before:62678480108313581 After:62678480108313585 Am I missing something? If I replace the divide ("/") with Multiply ("*") it works but the divides do not. If I divide by 2, I get: Local $tDec = DllStructCreate("int64 num