microsoft / microsoft/PowerToys
In PowerToys Run, =pow(x,y) function x and y are switched.
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Microsoft PowerToys version
v0.99.1
### Installation method
PowerToys auto-update
### Area(s) with issue?
PowerToys Run
### Steps to reproduce
- Run calculation in PowerToys run, for example "=pow(2 , 3)"
- Read output
- Be very confused about your math results :)
### ✔️ Expected Behavior
=pow(x,y) returns x^y
For example "=pow(2 , 3)" should return 2^3 as in [documentation](https://learn.microsoft.com/en-us/windows/powertoys/run#calculator-plugin).
"Power of x | pow( x, y ) | Calculate a number (x) raised to the power of some other number (y)."
### ❌ Actual Behavior
=pow(x,y) returns y^x
For example "=pow(2 , 3)" returns 3^2
### Upload Bug Report ZIP-file
_No response_
### Additional Information
Just =x^y works as expected though.
### Other Software
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the PowerToys Run calculator plugin and trace the pow(x,y) function using the documented example and the reproduction `=pow(2, 3)`. Confirm that the first argument is treated as x and the second as y, then rerun the example to verify it returns 2^3.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100