I created a component to calculate the power of numbers
but the problem is Number.MAX_SAFE_INTEGER
.
how can I calculate a larger number like 5^200 in my app completely without rounding?
Math.pow(5,200) // it loged `infinity`
I created a component to calculate the power of numbers
but the problem is Number.MAX_SAFE_INTEGER
.
how can I calculate a larger number like 5^200 in my app completely without rounding?
Math.pow(5,200) // it loged `infinity`