Greetings All-
I am currently reading about floating-point numbers. As per the C Primer Plus, a floating-point representation involves breaking up a number into a fractional part and an exponent part and storing the parts separately.
Example mentioned was how 7.0 is written as fractional part and exponent part:
7.0 as 0.7E1. 0.7 as the fractional part and 1 as the exponent part.
My question is:
Is it incorrect to break 7.0 as 7.0E0, 7.0 as the fractional part and 0 as the exponent part?
Your thoughts would be greatly appreciated.
Cheers
MindLess