1
0
Fork 0

explicit cast of int parameters to Real64 for VC7

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1188
This commit is contained in:
Peter Veenstra 2003-08-17 13:15:08 +00:00
parent 7fe21bc482
commit db9cee0e06

View file

@ -303,7 +303,7 @@ static void FPU_F2XM1(void){
}
static void FPU_FYL2X(void){
fpu.regs[ST(1)].d*=log(fpu.regs[TOP].d)/log(2);
fpu.regs[ST(1)].d*=log(fpu.regs[TOP].d)/log(static_cast<Real64>(2.0));
FPU_FPOP();
return;
}