M
Mukesh_Singh_Nick
What is meant by the "most significant digits" in the following
statement?
<BLOCKQUOTE>
With %g and %G, the precision modifier determines the maximum number
of significant digits displayed.</BLOCKQUOTE>
The statement appears here: http://www.cppreference.com/stdio/printf.html
Also, what do we mean by the magnitude of a floating point number?
I understand that the magnitude of an integral is equal to its
absolute value. However, I do not understand the meaning of the
magnitude of a floating point.
For a citation, please note the sentence below:
<BLOCKQUOTE>A float number is typically a 32-bit quantity, with at
least six significant digits and magnitude generally between about
10^(-38) and 10^(+38).</BLOCKQUOTE>
Source: K & R, Page 9, Second Edition
statement?
<BLOCKQUOTE>
With %g and %G, the precision modifier determines the maximum number
of significant digits displayed.</BLOCKQUOTE>
The statement appears here: http://www.cppreference.com/stdio/printf.html
Also, what do we mean by the magnitude of a floating point number?
I understand that the magnitude of an integral is equal to its
absolute value. However, I do not understand the meaning of the
magnitude of a floating point.
For a citation, please note the sentence below:
<BLOCKQUOTE>A float number is typically a 32-bit quantity, with at
least six significant digits and magnitude generally between about
10^(-38) and 10^(+38).</BLOCKQUOTE>
Source: K & R, Page 9, Second Edition