View the result with limb count and storage details
How It Works
INumber stores numbers as arrays of "limbs" in base 1,000,000,000 (9 decimal digits per limb). This is much more efficient than storing each digit separately.
Example:
Number: 123456789123456789
As limbs: [456789, 123456789, 123] (3 limbs = 27 KB instead of 18 digits)
Limitations
No Division (yet — multiplication-based, more complex)
No Decimals (integer math only)
Expression Parser: Simple (+, -, * only, no parentheses)
Performance
Addition: O(n) where n = number of limbs
Multiplication: O(n²) using school-book algorithm
Result: Can handle numbers with millions of digits if RAM allows