-
Notifications
You must be signed in to change notification settings - Fork 3
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] nth root and delete history #26
Comments
Hi! nth root is just raising something to the power of 1/n, so I didn't originally add a separate button (but I could!). And currently if you press "alt" and then the "clear scr[ee]n" button (which will appear in place of the "clear" button), it will clear all the calculations history displayed on the screen-- though they will remain in your history, and appear as your input if you press "up". Cube and nth rootGiven that, should I still add a cube root and nth root button? If your goal is just to get a nice looking LaTeX equation, I could add a feature that shows cube or nth root if you raise something to the power of 1/n. But I realize it's cumbersome to have to type Where would make sense to put it? My initial thought is if you press "alt" then the "sqrt" button becomes cube root, perhaps abbreviated as "cbrt" though that isn't very standardized. And maybe the "ln" button could become "nth root", though again I'm not sure what a nice abbreviation would be. And I forget how this worked on previous calculators that I used, would you enter your exponent, the "nth root" operator, then the thing you want to take the nth root of? I think this means I would have to add a new operator instead of just using a function, but that isn't too hard. Clear calculations historyJust to confirm, you don't just want to hide the visible previous inputs/outputs by pressing the "clear scrn" button, but actually erase them from the storage? The only user visible effect is that if you press "up" then they wouldn't be there anymore. My feeling is that this happens rarely, so rather than have a dedicated calculator button, I could put this in the options. And since it couldn't be reversed, I would add a prompt like "are you sure?". Does that sound good? |
I don't think new button for cube and nth root is necessary as long as
Yes. I might be paranoid but I had experience on Linux that my bash history exceeded 1GiB.
Good enough for me. |
I don't know how to write cube root and the other nth root.
And a button to clear all calculations history.
The text was updated successfully, but these errors were encountered: