- implemented '**' (power) operator. To ensure reliability, acustom 'pow' function will be used to calculate it.
- fixed: FxBinary::ResolveLR' check for numeric operations was incomplete. Like far too many other places it just assumed that everything with ValueType->GetRegType() == REGT_INT is a numeric type, but for names this is not the case.
This commit is contained in:
parent
d0a8960f61
commit
938ab4ca70
10 changed files with 1033 additions and 10 deletions
|
|
@ -1055,15 +1055,15 @@ begin:
|
|||
|
||||
OP(POWF_RR):
|
||||
ASSERTF(a); ASSERTF(B); ASSERTF(C);
|
||||
reg.f[a] = pow(reg.f[B], reg.f[C]);
|
||||
reg.f[a] = g_pow(reg.f[B], reg.f[C]);
|
||||
NEXTOP;
|
||||
OP(POWF_RK):
|
||||
ASSERTF(a); ASSERTF(B); ASSERTKF(C);
|
||||
reg.f[a] = pow(reg.f[B], konstf[C]);
|
||||
reg.f[a] = g_pow(reg.f[B], konstf[C]);
|
||||
NEXTOP;
|
||||
OP(POWF_KR):
|
||||
ASSERTF(a); ASSERTKF(B); ASSERTF(C);
|
||||
reg.f[a] = pow(konstf[B], reg.f[C]);
|
||||
reg.f[a] = g_pow(konstf[B], reg.f[C]);
|
||||
NEXTOP;
|
||||
|
||||
OP(MINF_RR):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue