Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Do 32-bit int and 32-bit float represent the same data?
Do 32-bit int and 32-bit float represent the same data?
The number of data represented by 32-bit int and 32-bit float is different. First of all, the data types they represent are different and have different characteristics, so they cannot replace each other. Secondly, 32-bit int can represent 2 to the 32nd power as a continuous integer (a number between 9 and 10), while 32-bit float has only 7 significant digits.