Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in Power/exponent operation #47

Open
aliabbasnagari opened this issue Oct 24, 2023 · 3 comments
Open

Bug in Power/exponent operation #47

aliabbasnagari opened this issue Oct 24, 2023 · 3 comments

Comments

@aliabbasnagari
Copy link
Contributor

aliabbasnagari commented Oct 24, 2023

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

@Ctoic
Copy link
Owner

Ctoic commented Oct 24, 2023

@aliabbasnagari should I assign you this task?

@K-RD
Copy link

K-RD commented Oct 24, 2023

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

@Ctoic
Copy link
Owner

Ctoic commented Oct 24, 2023

Already assigned the issue to @aliabbasnagari

@Ctoic Ctoic added the bug label Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants