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

in utopian-io •  7 years ago  (edited)

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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hello, @ulqu3.
You seem not to have proofread your draft before posting. The app is about simple calculator, yet you have pain diary written in the post.


IMG_20180530_153256_113.JPG
IMG_20180530_153325_349.JPG

  ·  7 years ago (edited)

@mcyusuf, I have done that now. Sorry i'm in transit and the network has been going on and off as I tried to edit my work.

Hi @ulqu3, thanks for reporting this error.

The developer is aware of this minor glitch , and should have it fixed before the next release, thanks to the issue you opened on github.

Though your post is long and well written, which is commendable, I would suggest that in your future posts you crosscheck for errors in your markdown tags to ensure the formatting is displayed as you would intend it to. Also, try to avoid clustering too much text content under a particular header tag. Leave a space where you need to, this would allow for easy reading.

I look forward to your future reports.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Hey @ulqu3
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!