Lines Matching refs:BigInt
714 * A JavaScript BigInt value (https://tc39.github.io/proposal-bigint)
716 class V8_EXPORT BigInt : public Primitive {
718 static Local<BigInt> New(Isolate* isolate, int64_t value);
719 static Local<BigInt> NewFromUnsigned(Isolate* isolate, uint64_t value);
721 * Creates a new BigInt object using a specified sign bit and a
727 static MaybeLocal<BigInt> NewFromWords(Local<Context> context, int sign_bit,
731 * Returns the value of this BigInt as an unsigned 64-bit integer.
734 * BigInt is negative.
739 * Returns the value of this BigInt as a signed 64-bit integer.
740 * If `lossless` is provided, it will reflect whether this BigInt was
752 * Writes the contents of this BigInt to a specified memory location.
753 * `sign_bit` must be provided and will be set to 1 if this BigInt is
757 * be needed to store this BigInt (i.e. the return value of `WordCount()`).
761 V8_INLINE static BigInt* Cast(v8::Data* data) {
765 return static_cast<BigInt*>(data);
769 BigInt();