Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.14 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.14 KB

BigNum.gml

@sohomsahaun

Quick links: itch


BigNum.gml is a big number library for GameMaker. If you want to handle large numbers beyond the regular range of integers/floats, you are in the right place. (Integer-only for now)





List of available functions:

Function Return Value
bignum_add(num1, num2) Sum of num1 and num2
bignum_subtract(num1, num2) Subtraction of num2 from num1
bignum_multiply(num1, num2) Product of num1 and num2
bignum_divide(num1, num2) Quotient (int) when num1 is divided by num2
bignum_mod(num1, num2) Modulo of num1 and num2
bignum_abs(num) Absolute value of num
bignum_sign(num) Sign of num
bignum_digits(num) Number of digits of num
bignum_compare(num1, num2) Comparison of num1 and num2
bignum_max(num1, num2,...) Maximum number among the arguments
bignum_min(num1, num2,...) Minimum number among the arguments