GodotBigNumberClass
GodotBigNumberClass copied to clipboard
Use very BIG numbers in Godot Engine games.
Code that produced the error: var itemOne = Big.new(0) var itemTwo = Big.new(0) print(itemOne.isLargerthanOrEqualTo(itemTwo)) This prints false currently.
normally after azz it should become baa then bab then bac and so on, but however it seems that a small oversight in the encoder makes it fail to replace...
right now you can only use the power function with an integer.
Hey, I don't know how to make a code submission to your project, so I'm just writing it here. I wrote logarithmic notation for your Big class. You don't have...
I'm using Visual Script, is there a way to implement the script with VS? How? Thanks!
Changes in new file for GD4: - `TYPE_REAL` changed to `TYPE_FLOAT` - `stepify` changed to `snapped` - `toFloat` function was changed to return `snapped(float(mantissa*pow(10.0, exponent)),0.01)` instead of `stepify(float(str(mantissa) + "e"...
Ex: Big.new(275.75).roundDown().toString() giving 276 I think it's because snapped(mantissa, precision) is rounding to the nearest multiple of precision, not down. I'm not sure if it's actually a good fix but...
Line 276:Cannot call non-static function "_typeCheck()" from static function "minValue()". Line 284:Cannot call non-static function "_typeCheck()" from static function "maxValue()". After adding the static keyword to _typeCheck(n), it worked without...
Big.gd extends Reference which is no longer in Godot 4.0 `TYPE_REAL` is now `TYPE_FLOAT` `stepify()` is no longer a function. The linter recommends `snapped()`. `const other` is trying to be...