mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-07 08:03:29 +00:00
Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
This commit is contained in:
parent
c14868b51e
commit
c65542e984
@ -353,7 +353,7 @@ JSTaggedValue SlowRuntimeStub::Mod2Dyn(JSThread *thread, JSTaggedValue left, JST
|
||||
JSHandle<BigInt> leftBigint(valLeft);
|
||||
JSHandle<BigInt> rightBigint(valRight);
|
||||
return BigInt::Remainder(thread, leftBigint, rightBigint).GetTaggedValue();
|
||||
}
|
||||
}
|
||||
return ThrowTypeError(thread, "Cannot mix BigInt and other types, use explicit conversions");
|
||||
}
|
||||
double dLeft = valLeft->GetNumber();
|
||||
|
Loading…
Reference in New Issue
Block a user