B
Bo Yang
Hi, I am confused by the double type in C++. I don't know whether
below is legal or possible:
double PI = 3.141592675932;
Now, can I get another double variable from PI with lower precision,
for
example, 3.1415926 .
Or, in another way, how does the double presented in computer, and
can I get different precision presentation from the same variable?
Thanks in advance!
below is legal or possible:
double PI = 3.141592675932;
Now, can I get another double variable from PI with lower precision,
for
example, 3.1415926 .
Or, in another way, how does the double presented in computer, and
can I get different precision presentation from the same variable?
Thanks in advance!