Is the reason why floats can not be stored accurately due to the fact that the computer does not have enough memory to store it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is the reason why floats can not be stored accurately due to the fact that the computer does not have enough memory to store it?

floats question

6th Dec 2016, 3:44 PM
Terence Chrisman Jr
2 Answers
+ 2
It is one of the reasons Not only store such values, but too to compare and compute with them. But this is not mean your present memory in computer. It means a memory limits considered by developing the compilator of language. So maybe, if you wanna a large size of floats (ot other types), you look for another compiler, or special library, which support this...
6th Dec 2016, 4:38 PM
Petr Hatina
Petr Hatina - avatar
0
okay so floats can be determined if the compiler is capable of doing so. Thanks for answering btw
6th Dec 2016, 4:55 PM
Terence Chrisman Jr