From 604e9cdd4e5be0f32f3647d6674a8d1e356b6c8a Mon Sep 17 00:00:00 2001 From: "Niki.kalwar" Date: Wed, 23 Jun 2021 22:18:33 +0530 Subject: [PATCH] edited the comments --- src/algorithms/math/fast-powering/fastPowering.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/math/fast-powering/fastPowering.js b/src/algorithms/math/fast-powering/fastPowering.js index b025af77..0b8ab0dd 100644 --- a/src/algorithms/math/fast-powering/fastPowering.js +++ b/src/algorithms/math/fast-powering/fastPowering.js @@ -17,7 +17,7 @@ export default function fastPowering(base, power) { if (power < 0) { const powerNext = power * -1; const baseNext = 1 / base; - // console.log("sssss") + //negative powers handled here return fastPowering(baseNext, powerNext); }