Java实现指数运算

import java.math.BigInteger; public class Solution {     public double Power(double base, int exponent) {         Double sum=1.0;         for(int i=1;i<=Math.abs(exponent);i++) {             sum*=base
相关文章
相关标签/搜索