摘要: 关于浮点数计算的精度问题。 我尝试运行了如下代码: public class TestDouble { public static void main(String args[]) { System.out.println("0.05 + 0.01 = " + (0.05 + 0.01)); Sys 阅读全文
posted @ 2024-09-25 21:58 老汤姆233 阅读(39) 评论(0) 推荐(0)