Home
last modified time | relevance | path

Searched refs:digitMove (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_bigint.cpp845 void BigInt::RightShift(JSHandle<BigInt> bigint, JSHandle<BigInt> x, uint32_t digitMove, uint32_t b… in RightShift() argument
849 for (uint32_t i = digitMove; i < size; i++) { in RightShift()
850 bigint->SetDigit(i - digitMove, x->GetDigit(i)); in RightShift()
853 uint32_t carry = x->GetDigit(digitMove) >> bitsMove; in RightShift()
854 uint32_t last = size - digitMove - 1; in RightShift()
856 uint32_t value = x->GetDigit(i + digitMove + 1); in RightShift()
864 void BigInt::JudgeRoundDown(JSHandle<BigInt> x, uint32_t digitMove, uint32_t bitsMove, uint32_t &ne… in JudgeRoundDown() argument
868 if (x->GetDigit(digitMove) & stamp) { in JudgeRoundDown()
871 for (uint32_t i = 0; i < digitMove; i++) { in JudgeRoundDown()
896 uint32_t digitMove = moveNum / DATEBITS; in RightShiftHelper() local
[all …]
Djs_bigint.h94 …static void RightShift(JSHandle<BigInt> bigint, JSHandle<BigInt> x, uint32_t digitMove, uint32_t b…
95 …static void JudgeRoundDown(JSHandle<BigInt> x, uint32_t digitMove, uint32_t bitsMove, uint32_t &ne…