Jump to content

Search the Community

Showing results for tags 'int64'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


WWW


Interests

Found 1 result

  1. 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") $tDec.num = 0xDEADBEDDEADBED ConsoleWrite('Before:' & $tDec.num & @CRLF); $tDec.num = $tDec.num / 2 ConsoleWrite(' After:' & $tDec.num & @CRLF); Before:62678480108313581  After:31339240054156793 But the number should be: 31339240054156790 Running with 32 bit AutoIT 3.3.14.2
×
×
  • Create New...