Darkempire78 / OpenCalc

A simple and beautiful calculator for Android
GNU General Public License v3.0
740 stars 83 forks source link

Add support for n root #173

Closed throwaway-d closed 1 year ago

throwaway-d commented 1 year ago

https://en.m.wikipedia.org/wiki/Nth_root

At the moment, OpenCalc only supports square root.

Darkempire78 commented 1 year ago

Do you have any idea how to implement it? indeed, if I am not mistaken, there is no simple way to represent n root unlike other functions. You would have to add an argument (e.g: root(n, y) which is not beautiful)

throwaway-d commented 1 year ago

:(

Darkempire78 commented 1 year ago

There is no clean way to implement it for the moment. Use ^(1/x) instead

throwaway-d commented 1 year ago

Use ^(1/x) instead

Thank you for the workaround! :D

julianfairfax commented 5 months ago

There is no clean way to implement it for the moment. Use ^(1/x) instead

Why not just add a button that does that in the background then?

inson1 commented 5 months ago

@julianfairfax Where should that button be?