开发者

Difference in storage of integer values and float values

开发者 https://www.devze.com 2022-12-28 16:43 出处:网络
Integer and Float use 4 bytes of m开发者_如何转开发emory for storage. However the range of integer and float are different. How are they stored internally in memory?Read this about floating point numb

Integer and Float use 4 bytes of m开发者_如何转开发emory for storage. However the range of integer and float are different. How are they stored internally in memory?


Read this about floating point numbers: http://en.wikipedia.org/wiki/Floating_point and this about integers: http://en.wikipedia.org/wiki/Two%27s_complement

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号