Lines Matching refs:BigInt
30 class BigInt;
36 // BigIntBase is just the raw data object underlying a BigInt. Use with care!
87 friend class ::v8::internal::BigInt; // MSVC wants full namespace.
122 // - MutableBigInt can be cast/converted explicitly to BigInt
124 // - No accidental implicit casting is possible from BigInt to MutableBigInt
150 class BigInt : public BigIntBase {
155 static Handle<BigInt> UnaryMinus(Isolate* isolate, Handle<BigInt> x);
156 static MaybeHandle<BigInt> BitwiseNot(Isolate* isolate, Handle<BigInt> x);
157 static MaybeHandle<BigInt> Exponentiate(Isolate* isolate, Handle<BigInt> base,
158 Handle<BigInt> exponent);
159 static MaybeHandle<BigInt> Multiply(Isolate* isolate, Handle<BigInt> x,
160 Handle<BigInt> y);
161 static MaybeHandle<BigInt> Divide(Isolate* isolate, Handle<BigInt> x,
162 Handle<BigInt> y);
163 static MaybeHandle<BigInt> Remainder(Isolate* isolate, Handle<BigInt> x,
164 Handle<BigInt> y);
165 static MaybeHandle<BigInt> Add(Isolate* isolate, Handle<BigInt> x,
166 Handle<BigInt> y);
167 static MaybeHandle<BigInt> Subtract(Isolate* isolate, Handle<BigInt> x,
168 Handle<BigInt> y);
169 static MaybeHandle<BigInt> LeftShift(Isolate* isolate, Handle<BigInt> x,
170 Handle<BigInt> y);
171 static MaybeHandle<BigInt> SignedRightShift(Isolate* isolate,
172 Handle<BigInt> x,
173 Handle<BigInt> y);
174 static MaybeHandle<BigInt> UnsignedRightShift(Isolate* isolate,
175 Handle<BigInt> x,
176 Handle<BigInt> y);
178 static ComparisonResult CompareToBigInt(Handle<BigInt> x, Handle<BigInt> y);
179 static bool EqualToBigInt(BigInt x, BigInt y);
180 static MaybeHandle<BigInt> BitwiseAnd(Isolate* isolate, Handle<BigInt> x,
181 Handle<BigInt> y);
182 static MaybeHandle<BigInt> BitwiseXor(Isolate* isolate, Handle<BigInt> x,
183 Handle<BigInt> y);
184 static MaybeHandle<BigInt> BitwiseOr(Isolate* isolate, Handle<BigInt> x,
185 Handle<BigInt> y);
188 static MaybeHandle<BigInt> Increment(Isolate* isolate, Handle<BigInt> x);
189 static MaybeHandle<BigInt> Decrement(Isolate* isolate, Handle<BigInt> x);
199 static Maybe<bool> EqualToString(Isolate* isolate, Handle<BigInt> x,
201 static bool EqualToNumber(Handle<BigInt> x, Handle<Object> y);
203 Handle<BigInt> x,
205 static ComparisonResult CompareToNumber(Handle<BigInt> x, Handle<Object> y);
207 V8_EXPORT_PRIVATE static ComparisonResult CompareToDouble(Handle<BigInt> x,
210 static Handle<BigInt> AsIntN(Isolate* isolate, uint64_t n, Handle<BigInt> x);
211 static MaybeHandle<BigInt> AsUintN(Isolate* isolate, uint64_t n,
212 Handle<BigInt> x);
214 V8_EXPORT_PRIVATE static Handle<BigInt> FromInt64(Isolate* isolate,
216 static Handle<BigInt> FromUint64(Isolate* isolate, uint64_t n);
217 static MaybeHandle<BigInt> FromWords64(Isolate* isolate, int sign_bit,
225 DECL_CAST(BigInt)
232 static MaybeHandle<String> ToString(Isolate* isolate, Handle<BigInt> bigint,
238 static Handle<Object> ToNumber(Isolate* isolate, Handle<BigInt> x);
241 V8_EXPORT_PRIVATE static MaybeHandle<BigInt> FromNumber(
245 static MaybeHandle<BigInt> FromObject(Isolate* isolate, Handle<Object> obj);
257 static Handle<BigInt> Zero(
260 static MaybeHandle<BigInt> Allocate(
270 V8_WARN_UNUSED_RESULT static MaybeHandle<BigInt> FromSerializedDigits(
274 OBJECT_CONSTRUCTORS(BigInt, BigIntBase);