Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_bigint_test.cpp132 JSHandle<BigInt> maxSafeIntPlusOne = BigIntHelper::SetBigInt(thread, maxSafeIntPlusOneStr); in HWTEST_F_L0() local
133 uint32_t size = maxSafeIntPlusOne->GetLength(); in HWTEST_F_L0()
136 uint32_t digit = maxSafeIntPlusOne->GetDigit(i); in HWTEST_F_L0()
143 maxSafeIntPlusOne->InitializationZero(); in HWTEST_F_L0()
145 uint32_t digit = maxSafeIntPlusOne->GetDigit(i); in HWTEST_F_L0()
163 …JSHandle<BigInt> maxSafeIntPlusOne = BigIntHelper::SetBigInt(thread, maxSafeIntPlusOneStr, BigInt:… in HWTEST_F_L0() local
169 JSHandle<BigInt> addOpRes = BigInt::BitwiseOp(thread, Operate::AND, maxSafeIntPlusOne, bigint1); in HWTEST_F_L0()
170 JSHandle<BigInt> andRes = BigInt::BitwiseAND(thread, maxSafeIntPlusOne, bigint1); in HWTEST_F_L0()
171 EXPECT_TRUE(BigInt::Equal(addOpRes.GetTaggedValue(), maxSafeIntPlusOne.GetTaggedValue())); in HWTEST_F_L0()
172 EXPECT_TRUE(BigInt::Equal(andRes.GetTaggedValue(), maxSafeIntPlusOne.GetTaggedValue())); in HWTEST_F_L0()
[all …]