Cubyz icon indicating copy to clipboard operation
Cubyz copied to clipboard

Fix parseNumber and related functions

Open BoySanic opened this issue 2 months ago • 0 comments

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)

BoySanic avatar Nov 15 '25 01:11 BoySanic