LeetCode Pow(x,n)

Binary Divided Solver.

Recursion.(not the tail-recursion, so cannot transform to non-recursion)

Attention to:

  1. overflow.(up-overflow/down-overflow).

  2. input conditions: positive/negtive/precision.

原文地址:https://www.cnblogs.com/CathyGao/p/3020630.html