先上图
Math.pow的天坑

math.pow(double a,double b)这个方法的参数类型是double
double运算有精度损失
所以自己手动*或者用BigInteger.pow代替math.pow都可以。

相关文章:

  • 2021-09-25
  • 2021-08-20
  • 2021-06-27
  • 2022-03-08
  • 2021-05-25
  • 2021-10-17
  • 2021-04-18
猜你喜欢
  • 2022-12-23
  • 2022-03-03
  • 2022-12-23
  • 2022-12-23
  • 2021-06-26
  • 2021-11-10
  • 2022-12-23
相关资源
相似解决方案