Description
function scr_a_bug() {
var _seed = 12345678;
var _state = int64(_seed);
show_debug_message(_state * 1103515245 + 12345);
}
on VM, output is 13623643882873455
on YYC, output is 13623643882873456
Changing 1103515245 to int64(1103515245) makes YYC work like VM.
Project file
Expected Change
No response
Steps To Reproduce
- Open the test project
- Run in VM, note the output
- Run in YYC, note the output
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2024.11.0 (Monthly)
Which platform(s) are you seeing the problem on?
Windows
Sample Package Attached?
Sample Project Added?
Description
on VM, output is 13623643882873455
on YYC, output is 13623643882873456
Changing
1103515245toint64(1103515245)makes YYC work like VM.Project file
Expected Change
No response
Steps To Reproduce
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2024.11.0 (Monthly)
Which platform(s) are you seeing the problem on?
Windows
Sample Package Attached?
Sample Project Added?