Problem with eager numeric calculation
MovGP0 opened this issue · 1 comments
MovGP0 commented
Current behavior
The eager numeric execution can result in calculations which are way too large to calculate numerically:
9Q ** 99Q ==> "29512665430652752148753480226197736314359272517043832886063884637676943433478020332709411004889"
(9Q ** 9Q) ** 9Q ==> "196627050475552913618075908526912116283103450944214766927315415537966391196809"
9Q ** (9Q ** 9Q) ==> "..." // Calculates till the heat death of the universe
Expected behavior
Do not simplify eagerly:
9Q ** 99Q ==> "9^99"
(9Q ** 9Q) ** 9Q ==> "9^9^9"
9Q ** (9Q ** 9Q) ==> "9^(9^9)"
FoggyFinder commented
Known issue. See #64 (comment)