GNOME Calculator: incorrect result for 2²^3

Wrong result for exponent with superscript two

Version: GNOME Calculator 50.0

Expression:
2²^3

Actual result:
1

Expected result:
256

Reason:
² should behave like exponent 2, so 2²^3 should parse as 2^2^3.
With right-associative exponentiation, that is 2^(2^3) = 256.

Additional example:
3²^2

Actual result:
1

Expected result:
81

You probably want to file an issue on the Calculator project.

Thank you, I created an issue Incorrect result for 2²^3 (#532) · Issues · GNOME / gnome-calculator · GitLab

1 Like