Math.pow的天坑

先上图 math.pow(double a,double b)这个方法的参数类型是double double运算有精度损失 所以自己手动*或者用BigInteger.pow代替math.pow都可以。
相关文章
相关标签/搜索