When using either the % or the mod functions on numbers where the left hand side has ~7+ digits ARMA will produce a wrong answer.
Description
Description
Details
Details
- Severity
- Major
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Operating System Version
- Anniversary Update
- Category
- Scripting
Steps To Reproduce
- Open ARMA 3
- Open EDEN
- Run any mission
- Open Menu
- Enter hint format ["%1", 87654321 % 2] into the debug console
- Execute the command
- Notice that ARMA seems to think the answer is 0, which is wrong
- This can be done with any left or right hand operands where the left hand operand is sufficiently large