edited the comments

This commit is contained in:
Niki.kalwar 2021-06-23 22:18:33 +05:30
parent 43b806f89c
commit 604e9cdd4e

View File

@ -17,7 +17,7 @@ export default function fastPowering(base, power) {
if (power < 0) { if (power < 0) {
const powerNext = power * -1; const powerNext = power * -1;
const baseNext = 1 / base; const baseNext = 1 / base;
// console.log("sssss") //negative powers handled here
return fastPowering(baseNext, powerNext); return fastPowering(baseNext, powerNext);
} }