Why the precision of float is 7? don't use the power of 23 to describe it. I don't think I can understand this description.

it is difficult to understand the accuracy of floating-point numbers, online interpretation is always 2 ^ 23 =. Of course, it will be 7 bits, but the Mantissa of 23bit memory is converted from binary to 10, why the precision is 7, even if it is 7, there are exponential bit constraints. The maximum number of float is 3.4 * 10 ^ 38, but the precision is only 7 digits. Isn"t such a large number itself more than 7 digits? How to understand what this precision means

Jul.23,2021

it is recommended to read the presentation and processing of CSAPP Chapter 2 information
or floating point links: https://www.cnblogs.com/ZCpla.


precision can be understood as a valid number in decimal. In other words, no matter how large the number expressed in single-precision float, only 7 bits are accurate. The index does not help to improve accuracy. For example, 1.23456789 * 10 ^ 38 can only be saved as 1.234567 * 10 ^ 38 with float.

Menu