Simple Calculator v 4.0.0 - Incorrect answer (0) when using high exponent function

Words
182
Reading
1 min
Listen
Play
8y

Repository

https://github.com/SimpleMobileTools/Simple-Calculator

Expected Behaviour

I expect to receive a correct result or approximate answer when I use the exponent "^" function.

Actual Behaviour

Calculator incorrectly gives answer as zero(0).

How to Reproduce

  • Download Simple Calculator app from fdroid store and install.
  • Scroll through menu and launch app.
  • Do a calculation involving exponent (Eg 5^40, 10^10) and gradually increase the exponent value by 50 or 100. At a point it will return answer as zero.

Recording of Bug

As you can see the raised up to(^) function works well. Until the multiplier number is significantly raised. The output reverts to Zero(0) which is incorrect.

At the very least it should give a decimal answer multiplied by 10power (Eg 123.45*e40) or state that the answer was too high.

I thought perhaps there was just a maximum number limit...

Multiplying with Simple Calculator v4.0.0

But when I multiplied high numbers and we can clearly see that the calculator can give high output exceeding 50 digits.

  • Device: Oukitel K10000 Pro
  • Operating system: Android 7.0
  • Application: Simple Calculator
  • version: 4.0.0

GitHub Account

https://github.com/ulqu3

Simple Calculator v 4.0.0 - Incorrect answer (0) when using high ex... | Ecency