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 plugin in PowerToys Run is subject to floating point precision loss #37828

Open
YaBoiMega0 opened this issue Mar 8, 2025 · 1 comment
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams

Comments

@YaBoiMega0
Copy link

Microsoft PowerToys version

0.89.0

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

PowerToys Run

Steps to reproduce

Input an expression such as "=2^50" or "=1000000000000000+1" which does not fit within a double.
Observe that the answer is incorrect (using windows calculator or wolfram alpha for the correct result).

✔️ Expected Behavior

"=2^50" should return the correct value: 1125899906842624
"=1000000000000000+1" should return the correct value: 1000000000000001

❌ Actual Behavior

"=2^50" returns 1125899906842620
"=1000000000000000+1" returns 1000000000000000

Other Software

No response

@YaBoiMega0 YaBoiMega0 added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Mar 8, 2025
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams
Projects
None yet
Development

No branches or pull requests

1 participant