CalHub icon indicating copy to clipboard operation
CalHub copied to clipboard

Bug in Power/exponent operation

Open aliabbasnagari opened this issue 2 years ago • 3 comments

Exponent is not working correctly. there is minor error.

Steps to get into the bug:

  1. Open the calculator app
  2. Enter the first number i.e. 2
  3. Press exponent button ^
  4. Enter second number i.e. 2
  5. Press on = button to get answer

Answer you will get for above inputs: 2^2 = 42

Expected answer: 2^2 = 4

aliabbasnagari avatar Oct 24 '23 04:10 aliabbasnagari

@aliabbasnagari should I assign you this task?

Ctoic avatar Oct 24 '23 06:10 Ctoic

Even this is not working for any value other than 2.

Steps to get into the bug:

Open the calculator app Enter the first number i.e. 2 Press exponent button ^ Enter second number i.e. 3 or (any no other than 2) Press on = button to get answer Answer you will get for above inputs: 2^3 = 43 ( 4 first then the second number )

Expected answer: 2^3 = 8

K-RD avatar Oct 24 '23 06:10 K-RD

Already assigned the issue to @aliabbasnagari

Ctoic avatar Oct 24 '23 06:10 Ctoic