Lines Matching refs:BigInt
32 BUILTINS_API_TRACE(thread, BigInt, Constructor);
37 THROW_TYPE_ERROR_AND_RETURN(thread, "BigInt is not a constructor", JSTaggedValue::Exception());
45 BUILTINS_API_TRACE(thread, BigInt, Constructor);
53 return BigInt::NumberToBigInt(thread, Primitive);
63 BUILTINS_API_TRACE(thread, BigInt, AsUintN);
73 JSHandle<BigInt> jsBigintVal(thread, jsBigint);
74 // 3. Return a BigInt representing bigint modulo 2bits.
75 return BigInt::AsUintN(thread, index, jsBigintVal);
82 BUILTINS_API_TRACE(thread, BigInt, AsIntN);
92 JSHandle<BigInt> jsBigintVal(thread, jsBigint);
95 return BigInt::AsintN(thread, index, jsBigintVal);
102 BUILTINS_API_TRACE(thread, BigInt, ToLocaleString);
166 BUILTINS_API_TRACE(thread, BigInt, ToString);
172 JSHandle<BigInt> thisBigint(thread, value);
189 return BigInt::ToString(thread, thisBigint).GetTaggedValue();
191 // 6. Return the String representation of this BigInt value using the radix specified by radixNumber
192 return BigInt::ToString(thread, thisBigint, static_cast<int>(radix)).GetTaggedValue();
199 BUILTINS_API_TRACE(thread, BigInt, ValueOf);
209 BUILTINS_API_TRACE(thread, BigInt, ThisBigIntValue);
211 // 1. If Type(value) is BigInt, return value.
218 // a. Assert: Type(value.[[BigIntData]]) is BigInt.
225 THROW_TYPE_ERROR_AND_RETURN(thread, "not BigInt type", JSTaggedValue::Exception());