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

crash: root of negative base #302

Closed
ulrich-mayer opened this issue Aug 1, 2023 · 3 comments
Closed

crash: root of negative base #302

ulrich-mayer opened this issue Aug 1, 2023 · 3 comments
Assignees
Labels
beta version Things related to the current beta version bug Something isn't working important Important things to do
Milestone

Comments

@ulrich-mayer
Copy link

Describe the bug
Type: (-9)^.5 --> app crash

Expected behavior
Display either

  • Nothing
  • Nan
  • complex number result
  • correct result, e.g. for (-27)^(1/3) = -3

Smartphone (please complete the following information):

  • Device: Pixel 7
  • OS: Android 13
  • 2023-07-31 f-droid (3.0.0 beta2)
  • Language German
@ulrich-mayer ulrich-mayer added the bug Something isn't working label Aug 1, 2023
@Darkempire78 Darkempire78 added beta version Things related to the current beta version important Important things to do labels Aug 1, 2023
@ulrich-mayer
Copy link
Author

Looking at you fix that it seems it is incomplete.
Please try (-9)^1.5
I.e I think instead of comparing to less than 1 you should check for integer

@Darkempire78 Darkempire78 reopened this Aug 1, 2023
@Darkempire78
Copy link
Owner

you are right lmao

@Darkempire78 Darkempire78 added this to the 3.0.0 milestone Nov 1, 2023
@ulrich-mayer
Copy link
Author

Confirm: bug is fixed in version 3.0.0-beta4 from fdroid on 2023-11-07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta version Things related to the current beta version bug Something isn't working important Important things to do
Projects
None yet
Development

No branches or pull requests

2 participants