Cubyz
Cubyz copied to clipboard
Fix parseNumber and related functions
Fixes #2290 If given values greater than an i64 can handle, the parseNumber function and the createElementFromRandomType function both could not handle that.
I added a new .uint property on ZonElement and it'll use .uint when the value is too large for a i64 (detected by checking if std.math.cast will cast it to a i64 for createElementFromRandomType)