-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
PowerToys Run return error result when calculate hexadecimal numbers #29632
Comments
This does look weird... |
So I guess it's because the number overflows MAX. Like another problem I found in #28085 . I think it is not a good idea to calculate hexademical numbers using |
Would have to use |
Consider that numbers start with "0x" should not be treated as negative value, maybe we should imporve this specific case first. The original use case is that as a programer, I prefer use powertoy run instead of calculator provided by windows to calculate some hexademical or binary mathematical calculations. Because it's just more handy 😆 . |
Hi, this has been worked on for the 0.78 development cycle. 😄 |
Microsoft PowerToys version
0.75.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
input:
=0xf4572220-0xf4572410
or
=0xf4572220 - 0xf4572410
or
0xf4572220 - 0xf4572410
✔️ Expected Behavior
expected result
-496
or
FFFFFFFFFFFFFE10
❌ Actual Behavior
output: -2048
Other Software
No response
The text was updated successfully, but these errors were encountered: