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:
parent
7fe21bc482
commit
db9cee0e06
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue