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

Calculator crashes when a very large number is entered #22

Open
verumIgnis opened this issue Nov 9, 2024 · 4 comments
Open

Calculator crashes when a very large number is entered #22

verumIgnis opened this issue Nov 9, 2024 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@verumIgnis
Copy link

When you type a very large number into the calculator it will crash with the error java.lang.NumberFormatException: Infinite or NaN

@forzzzzz forzzzzz added the help wanted Extra attention is needed label Nov 10, 2024
@forzzzzz
Copy link
Owner

@verumIgnis can you describe the bug in more detail? I don't face it

@verumIgnis
Copy link
Author

If you type more than about 260 digits into the calculator, the app will crash

Steps to reproduce:

  1. Open the calculator
  2. Type a very large number into the calculator

After several hundred digits are entered, the app crashes.

I am using GrapheneOS with the latest version of Calculator You available on F-Droid.

@forzzzzz
Copy link
Owner

Screenshot_20241111-223903_crDroid Home.png

hm, i will understand it later

@verumIgnis
Copy link
Author

verumIgnis commented Nov 12, 2024

When you press = it puts it in scientific notation, however if you just type a long number (about 250 digits) it does not, and the app will crash. Clicking more info on the crash popup displays the log showing the error java.lang.NumberFormatException: Infinite or NaN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants