I know that this may be a common question, but I have never found an answer (and maybe it has to do with not knowing how to search google correctly, so if somebody can point me to a reference, I will remove this question).
Why do doubles work how they do in terms of representing the right side of the decimal with an inverse power of 2, and the left side of the decimal with a power of 2? I know that it allows very large numbers to be represented, but are there any other advantages? The .NET framework has the decimal
data structure available, which seems much more logical to use becuase it is how we represent numbers in human notation.
Really, my question is why doubles were created the way they were instead of initially creating something like decimal instead (which seems to be far less common).