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

[run/calculator] wrong result if more than 20 digits are used in sqrt(x) #17990

Closed
1 task
maximousblk opened this issue May 1, 2022 · 2 comments
Closed
1 task
Labels
Issue-Bug Something isn't working Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@maximousblk
Copy link

Microsoft PowerToys version

0.57.2

Running as admin

  • Yes

Area(s) with issue?

PowerToys Run

Steps to reproduce

  1. Activate PowerToys Run using Alt + SPACE shortcut (or your custom shortcut)
  2. type in sqrt(1.0) and keep adding zeros (0) after the decimal (note that with 11 zeros the answer is 1.0 instead of 1)
  3. after 20 digits (excluding decimal) the results switches to ~2.78 * 10^n

✔️ Expected Behavior

return the correct result

❌ Actual Behavior

returns ~2.78 * 10^n

though this doesn't happen when the number is zero

Other Software

N/A

@maximousblk maximousblk added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels May 1, 2022
@franky920920
Copy link
Contributor

/dup #2265

@ghost
Copy link

ghost commented May 2, 2022

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed May 2, 2022
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels May 2, 2022
This issue was closed.
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 Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants