So I'm going to build something that's going to do iterative exponentiation.
首先我会写一个,迭代乘法的过程。
This is another way of doing exponentiation, but this one's a recursive function. All right?
但这是一种递归的方法对不对?,好,让我们看看这种方法?
So let me show you another way I could do exponentiation. Taking an advantage of a trick.
看我怎么用这个小技巧,来求a的b次方的。
应用推荐