摘要:
int和float都是4字节32位表示形式。为什么float的范围大于int? float精度为6~7位。1.66*10^10的数字结果并不是166 0000 0000 指数越大,误差越大。 这些问题,都是浮点数的存储方式造成的。 float和double在存储方式上都是遵从IEEE的规范的,flo 阅读全文
posted @ 2016-12-19 19:19
limeOracle
阅读(19710)
评论(2)
推荐(2)
摘要:
java.lang Class Integer Returns an Integer instance representing the specified int value. Returns an Integer object holding the value of the specified 阅读全文
posted @ 2016-12-19 14:14
limeOracle
阅读(245)
评论(0)
推荐(0)