Mantis

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0021357GameMaker Runner[All Projects] Windows (YYC)Public2016-05-03 03:532016-06-02 12:15
ReporterYellowAfterlife 
Assigned ToRussell Kay 
PriorityMediumSeverityB - MajorReproducibility100%
StatusClosedResolutionFixed 
PlatformWindowsOSWindows 8OS Version8.1
Summary0021357: YYC: No operators appear to be implemented for int64
Descriptionsteam_ functions require you to work with 64-bit IDs.
DLLs cannot accept 64-bit arguments.
You can't split a 64-bit value into 32-bit values because all operations yield 0.
var u = int64("76561198025072099");
show_debug_message("source: " + string(u));
var nh = u >> 32;
var nl = u & 4294967295;
show_debug_message("bit op, normal: " + string(nh) + ":" + string(nl));
var uh = u >> int64(32);
var ul = u & int64(4294967295);
show_debug_message("bit op, int64: " + string(uh) + ":" + string(ul));
var dh = u div 4294967296;
var dl = u mod 4294967296;
show_debug_message("float op: " + string(dh) + ":" + string(dl));

Output:
source: 76561198025072099
bit op, normal: 0:0
bit op, int64: 0:0
float op: 0:0.00
GM Version1.4.1757
Attached Files? file icon a_bug.gmz [^] (43,278 bytes) 2016-05-03 03:53

- Relationships

-  Notes
(0043210)
Russell Kay (Manager)
2016-05-06 16:55

Fixed in gitlab 76b6ba5
(0043676)
Daniel Cleaton (Administrator)
2016-06-02 11:54
edited on: 2016-06-02 12:14

Now get

source: 76561198025072099
bit op, normal: 17825793:64806371
bit op, int64: 17825793:64806371
float op: 17825793:64806371

for VM and YYC.

Verifying in EA478. Closing. Fix will be in next EA/Beta releases.



Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker