Mercerenies / fifi-calculator

1 stars 0 forks source link

Known bug in output: Negative numbers should be parenthesized when they're the base of an exponent #16

Closed Mercerenies closed 1 month ago

Mercerenies commented 1 month ago

The expression (-3)^2 prints as -3^2, which is not correct.