《劍指offer》學習筆記_面試題16_數值的整數次方

#include <cfloat> class Solution { public: double Power(double base, int exponent) { //0的負數次方直接返回 if(equal(base,0.0)&&exponent<0)return 0.0; unsigned int absExponent = abs
相關文章
相關標籤/搜索