Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/ic/
H A Dic_binary_op.h182 double dLeft = left.IsInt() ? left.GetInt() : left.GetDouble(); in DivWithTSType() local
185 if (dLeft == 0.0 || std::isnan(dLeft)) { 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()
218 double dLeft = left.IsInt() ? left.GetInt() : left.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()
224 return JSTaggedValue(dLeft); in ModWithTSType()
234 double dLeft = leftNumber.GetNumber(); ModWithTSType() local
[all...]
/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dfast_runtime_stub-inl.h51 double dLeft = left.IsInt() ? left.GetInt() : left.GetDouble(); in FastDiv() local
54 if (dLeft == 0.0 || std::isnan(dLeft)) { 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()
77 double dLeft = left.IsInt() ? left.GetInt() : left.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()
83 return JSTaggedValue(dLeft); in FastMod()
127 double dLeft = left.IsInt() ? left.GetInt() : left.GetDouble(); FastStrictEqual() local
[all...]
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs-inl.h1996 double dLeft = valLeft->GetNumber(); in RuntimeDiv2() local
1999 if (dLeft == 0 || std::isnan(dLeft)) { in RuntimeDiv2()
2003 ((base::bit_cast<uint64_t>(dLeft)) & base::DOUBLE_SIGN_MASK)); in RuntimeDiv2()
2006 return JSTaggedValue(dLeft / dRight); in RuntimeDiv2()
2026 double dLeft = valLeft->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()
2033 return JSTaggedValue(dLeft); in RuntimeMod2()
[all...]

Completed in 8 milliseconds