double und long double in VC2005

Tech-Archive recommends: Fix windows errors by optimizing your registry



In einem kleinen Test habe ich folgendes geschrieben:

long double ld = PI * 3.12345678901234567890123567890;
double d = PI * 3.12345678901234567890123567890;

CString cs;
cs.Format("%25.25f[%d] %25.25f[%d]",ld,sizeof(long
double),d,sizeof(double));
AfxMessageBox(cs);

Es scheint das beide Datentypen in VS 2005 SP1 gleich gross sind ?



Howie

.