Lines Matching refs:BigInt
723 * A JavaScript BigInt value (https://tc39.github.io/proposal-bigint)
725 class V8_EXPORT BigInt : public Primitive {
727 static Local<BigInt> New(Isolate* isolate, int64_t value);
728 static Local<BigInt> NewFromUnsigned(Isolate* isolate, uint64_t value);
730 * Creates a new BigInt object using a specified sign bit and a
736 static MaybeLocal<BigInt> NewFromWords(Local<Context> context, int sign_bit,
740 * Returns the value of this BigInt as an unsigned 64-bit integer.
743 * BigInt is negative.
748 * Returns the value of this BigInt as a signed 64-bit integer.
749 * If `lossless` is provided, it will reflect whether this BigInt was
761 * Writes the contents of this BigInt to a specified memory location.
762 * `sign_bit` must be provided and will be set to 1 if this BigInt is
766 * be needed to store this BigInt (i.e. the return value of `WordCount()`).
770 V8_INLINE static BigInt* Cast(v8::Data* data) {
774 return static_cast<BigInt*>(data);
778 BigInt();