Please find details of small program written by me:
( UNIX NCR MP-RAS, NCR C/C++ Complier, Double is 8 bytes (Just in case))
double j;
j = 3003486271;
printf("\n double - > %17.14E ",j);
j = 3003486271.0;
printf("\nDouble value 3003486271 with format - > %17.14E\n\n\n",j);
Ouput:
double - > -1.29148102500000E+09
Double value 3003486271 with format - > 3.00348627100000E+09
Why the first case is not showing the correct value ? Any Ideas ...