Closed danilopedraza closed 1 month ago
The library implements exponentiation between BigInt
and BigUInt
, something that I haven't noticed.
Done. Integer exponentiation is now implemented for arbitrary integers.
Important note: I don't return a fraction when the exponent is an integer: I return a decimal.
I implemented the exponentiation on integers badly. When the exponent is non-negative, The result is an integer and I can keep going. When the exponent is negative, I can return a fraction.