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

[Feature request] Calculator:Squares of numbers as well as unit conversion. #316

Open
mexicancartel opened this issue Mar 3, 2024 · 2 comments

Comments

@mexicancartel
Copy link

So i was trying to convert psi to N/m² but seems like its not able to figure out ² character. Then i tried with numbers and none of the syntaxes I know can be used to put a square or any power I tried formats like 5^10 and 2**3 and don't know if there is a proper way for powers at all.

@nhirokinet
Copy link
Owner

You can input 1N/1m/1m to get 1N/m^2. There is no functionality to handle power like 4^10 now.
I know this is not the best implementation, but consideration for implementation more flexible math functions is stopped and not ongoing actually.
The reason I didn't implement 2^3 as 8 is that there are both systems that 2^3=pow(2, 3)=8 and systems that 2^3=bitxor(2,3)=1.

@mexicancartel
Copy link
Author

1N/1m/1m won't work with conversion from psi to N/m²
It would be nice to have for ²,³, and ⁴
Also ** would be better if ^ is bitxor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants