It is safer to test whether the absolute value of the difference between the two numbers is less than a small acceptable tolerance.

 
  • 更好的方法是测试一下两个数之差的绝对值是否小于一个小的可接受公差。
今日热词
目录 附录 查词历史