Open
Description
Microsoft PowerToys version
0.72.0
Installation method
GitHub, PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
- activate power toys run by key shortcut
- enter
=2^50
✔️ Expected Behavior
expected answer is 1125899906842624
❌ Actual Behavior
actual answer is 1125899906842620
actually, any answer of 2^x would not be multiply of 10.
under any x >= 50, answer from powertoys run will be a wrong answer.
I guess the floating-point number introduced errors.
But if the error could not be avoided, users should be notified explicitly on the UI.
Other Software
windows calculator(11.2210.0.0): 1,125,899,906,842,624
python 3.8.10: python -c "print(2**50)" shows 1125899906842624
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status
Activity