How to Compute the Power of Arbitrary Base without Loops in C/C++? July 20, 2016 c / c++, math 2 Comments If we want to compute , and if the y is integer, we can easily do this using a straigtforward loop O(n), or a O(logn) approach. However, if the … [Continue Reading...]