Revert to trival pow() optimizations to prevent inaccuracies.
This commit is contained in:
@@ -1680,8 +1680,7 @@ static void asm_pow(ASMState *as, IRIns *ir)
|
||||
IRCALL_lj_carith_powu64);
|
||||
else
|
||||
#endif
|
||||
asm_callid(as, ir, irt_isnum(IR(ir->op2)->t) ? IRCALL_lj_vm_pow :
|
||||
IRCALL_lj_vm_powi);
|
||||
asm_callid(as, ir, IRCALL_pow);
|
||||
}
|
||||
|
||||
static void asm_div(ASMState *as, IRIns *ir)
|
||||
|
||||
Reference in New Issue
Block a user