I know there are questions like this, but I could not find the answers. Please read before voting to close (:
The numeric coprocessor has eight floating point registers.
Each register holds 80 bits of data.
Floating point numbers are always stored as 80-bit
extended precision numbers in these registers.
How is this possible when sizeof shows different things. For example, in x64 architecture, the size of double is 8, and this is far from 80 bits.
Double precision magnitudes can range from approximately 10 ^ β308 to 10 ^ 308
These are huge numbers, you canβt store them in 8B or even 16B (which is enhanced accuracy and only 128 bits)?
Obviously I'm missing something. In fact, obviously, a lot of things.
c ++ floating-point limit
Kiril Kirov May 12 '11 at 16:21 2011-05-12 16:21
source share