![]() But since there is only a finite amount of space, it gets trimmed off. And the thing is that numbers that you think are normal in decimal are actually repeating numbers in binary. Floats are stored in binary, not decimal. So with this information there is the first form of float error that most people run into. ![]() The 32-bits are broken up as sign, exponent, and mantissa (mantissa is the fractional part of the scientific notation where the significant values are). Next, floats are stored in scientific notation. Rather instead a 32-bit single floating point value fits inside 32-bits of memory. ![]() There are no "infinite repeating" values in memory as that would imply infinite amount of RAM. ![]() A 'float' in memory takes up a finite amount of space. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |