phpInDev

BigInt Lib

BigInt Lib is a GML library for handling very big numbers. Real values can only store accurate values up to certain point. Sometimes you need numbers bigger than can be achieved using 32 bit integers. BigInt Lib was written to provide a way to handle numbers bigger than what GM is capable of handling with virtually no limit.

There is basically no limit on how big numbers you can calculate with the BigInt library. However, bigger numbers are much much slower to handle. And so you might want to stick with numbers under 100 numbers or so. But even that is huge difference what you can calculate with GM's real numbers. This is not intended to replace GM's number handling, because real value calculation are always a lot faster than ones provided by this library. This is meant for those special purposes when you need ridiculously large numbers, such as when calculating really big scores in games.

There is no example provided with the library, so you will have to implement it to some of your own games to try it out.