Home
last modified time | relevance | path

Searched refs:dRight (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/ic/
H A Dic_binary_op.h183 double dRight = right.IsInt() ? right.GetInt() : right.GetDouble(); in DivWithTSType() local
184 if (UNLIKELY(dRight == 0.0)) { in DivWithTSType()
188 uint64_t flagBit = ((base::bit_cast<uint64_t>(dLeft)) ^ (base::bit_cast<uint64_t>(dRight))) & in DivWithTSType()
193 return JSTaggedValue(dLeft / dRight); in DivWithTSType()
219 double dRight = right.IsInt() ? right.GetInt() : right.GetDouble(); in ModWithTSType() local
220 if (dRight == 0.0 || std::isnan(dRight) || std::isnan(dLeft) || std::isinf(dLeft)) { in ModWithTSType()
223 if (dLeft == 0.0 || std::isinf(dRight)) { in ModWithTSType()
226 return JSTaggedValue(std::fmod(dLeft, dRight)); in ModWithTSType()
237 double dRight in ModWithTSType() local
[all...]
/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dfast_runtime_stub-inl.h52 double dRight = right.IsInt() ? right.GetInt() : right.GetDouble(); in FastDiv() local
53 if (UNLIKELY(dRight == 0.0)) { in FastDiv()
57 uint64_t flagBit = ((base::bit_cast<uint64_t>(dLeft)) ^ (base::bit_cast<uint64_t>(dRight))) & in FastDiv()
62 return JSTaggedValue(dLeft / dRight); in FastDiv()
78 double dRight = right.IsInt() ? right.GetInt() : right.GetDouble(); in FastMod() local
79 if (dRight == 0.0 || std::isnan(dRight) || std::isnan(dLeft) || std::isinf(dLeft)) { in FastMod()
82 if (dLeft == 0.0 || std::isinf(dRight)) { in FastMod()
85 return JSTaggedValue(std::fmod(dLeft, dRight)); in FastMod()
128 double dRight in FastStrictEqual() local
[all...]
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs-inl.h1997 double dRight = valRight->GetNumber(); in RuntimeDiv2() local
1998 if (dRight == 0) { in RuntimeDiv2()
2002 bool positive = (((base::bit_cast<uint64_t>(dRight)) & base::DOUBLE_SIGN_MASK) == in RuntimeDiv2()
2006 return JSTaggedValue(dLeft / dRight); in RuntimeDiv2()
2027 double dRight = valRight->GetNumber(); in RuntimeMod2() local
2029 if ((dRight == 0.0) || std::isnan(dRight) || std::isnan(dLeft) || std::isinf(dLeft)) { in RuntimeMod2()
2032 if ((dLeft == 0.0) || std::isinf(dRight)) { in RuntimeMod2()
2035 return JSTaggedValue(std::fmod(dLeft, dRight)); in RuntimeMod2()

Completed in 8 milliseconds