diff --git a/math/binary_exponent.cpp b/math/binary_exponent.cpp index 5c71ca97c..c9ed944d8 100644 --- a/math/binary_exponent.cpp +++ b/math/binary_exponent.cpp @@ -2,7 +2,7 @@ #include /* - * Calculating a^b in O(log(b)) by converting b in binary no. + * Calculate a^b in O(log(b)) by converting b to a binary number * Binary exponentiation (also known as exponentiation by squaring) * is a trick which allows to calculate an using only O(logn) multiplications * (instead of O(n) multiplications required by the naive approach).