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] Calculator fails on some formulas with parenthesis #2007

Open
1 task
martinlindhe opened this issue Dec 17, 2024 · 0 comments
Open
1 task

[Bug] Calculator fails on some formulas with parenthesis #2007

martinlindhe opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@martinlindhe
Copy link

martinlindhe commented Dec 17, 2024

Operating System

Linux

What's the issue you encountered?

The built-in calculator don't handle some forms of expressions

Example:

= 2+2 WORKS
= (2+2) FAILS with "invalid syntax"
= 0+(2+2) WORKS

More involved example:

= ((2913692 - 10117) - 2894447) / 326 FAILS with "invalid syntax"

How can the issue be reproduced?

Enter the following in the built in calculator "= (2+2)"

ImHex Version

1.35.4

ImHex Build Type

  • Nightly or built from sources

Installation type

aur

Additional context?

No response

@martinlindhe martinlindhe added the bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant