X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com From: Sterten AT aol DOT com Message-ID: Date: Fri, 22 Feb 2008 01:56:19 EST Subject: double To: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-----------------------------1203663379" X-Mailer: 9.0 SE for Windows sub 5018 X-Spam-Flag: NO Reply-To: djgpp AT delorie DOT com -------------------------------1203663379 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit double x; int main(int argc,char*argv[]){ x=1.23; printf("x=%13.12Lf\n",x); } prints x=0.000000000000 instead of x=1.230000000000 what's wrong ? -------------------------------1203663379 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable
double x;
int main(int argc,char*argv[]){=20
x=3D1.23;
printf("x=3D%13.12Lf\n",x);
}
 
prints x=3D0.000000000000 instead of x=3D1.230000000000
what's wrong ?
-------------------------------1203663379--