Difference in storing integer values ​​and float values

Integer and Float use 4 bytes of storage. However, the range of integers and floats is different. How are they stored inside memory?

+2


a source to share


1 answer


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



+2


a source







All Articles