G
Guest
Can anyone explain to me that why the flowling code
printf("%f\n", atof("12345678901234567890"));
produces this result:
12345678901234567000.000000
Is it that printf cannot handle double data correctly or that I am doing
right things?
Great thanks.
printf("%f\n", atof("12345678901234567890"));
produces this result:
12345678901234567000.000000
Is it that printf cannot handle double data correctly or that I am doing
right things?
Great thanks.