Difference in storage of integer values and float values
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
精彩评论