int newWidth = 100;
int newHeight = 100;
double ratio = 0;
if (img1.Width > img1.Height)
{
ratio = img1.Width/img1.Height;
newHeight = (int)(newHeight/ratio);
}
else
{
ratio = i
这个问题。 Microsoft Visual C++ 2005编译器,32位windows xp sp3,amd 64 x2 cpu。 代码: double a = 3015.0;
double b = 0.00025298219406977296;
//*((unsigned __int64*)(&a)) == 0x40a78e0000000000
//*((unsigned __int6