arithmetic.js |
---
esid: sec-bigint.asintn
description: BigInt.asIntN arithmetic test cases
info: |
BigInt.asIntN ( bits, bigint )
3. Let mod be a BigInt representing bigint modulo 2**bits.
4. If mod ≥ 2**bits - 1, return mod - 2**bits; otherwise, return mod.
features: [BigInt]
--- |
2904 |
asIntN.js |
---
esid: sec-bigint.asintn
description: BigInt.asIntN property descriptor
info: |
BigInt.asIntN ( bits, bigint )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [BigInt]
--- |
518 |
bigint-tobigint-errors.js |
---
description: BigInt.asIntN type coercion for bigint parameter
esid: sec-bigint.asintn
info: |
BigInt.asIntN ( bits, bigint )
2. Let bigint ? ToBigInt(bigint).
features: [BigInt, computed-property-names, Symbol, Symbol.toPrimitive]
--- |
5101 |
bigint-tobigint-toprimitive.js |
---
description: BigInt.asIntN type coercion for bigint parameter
esid: sec-bigint.asintn
info: |
BigInt.asIntN ( bits, bigint )
2. Let bigint ? ToBigInt(bigint).
features: [BigInt, computed-property-names, Symbol, Symbol.toPrimitive]
--- |
4453 |
bigint-tobigint-wrapped-values.js |
---
description: BigInt.asIntN type coercion for bigint parameter
esid: sec-bigint.asintn
info: |
BigInt.asIntN ( bits, bigint )
2. Let bigint ? ToBigInt(bigint).
features: [BigInt, computed-property-names, Symbol, Symbol.toPrimitive]
--- |
1880 |
bigint-tobigint.js |
---
description: BigInt.asIntN type coercion for bigint parameter
esid: sec-bigint.asintn
info: |
BigInt.asIntN ( bits, bigint )
2. Let bigint ? ToBigInt(bigint).
features: [BigInt]
--- |
2855 |
bits-toindex-errors.js |
---
description: BigInt.asIntN type coercion for bits parameter
esid: sec-bigint.asintn
info: |
BigInt.asIntN ( bits, bigint )
1. Let bits be ? ToIndex(bits).
features: [BigInt, computed-property-names, Symbol, Symbol.toPrimitive]
--- |
2740 |
bits-toindex-toprimitive.js |
---
description: BigInt.asIntN type coercion for bits parameter
esid: sec-bigint.asintn
info: |
BigInt.asIntN ( bits, bigint )
1. Let bits be ? ToIndex(bits).
features: [BigInt, computed-property-names, Symbol, Symbol.toPrimitive]
--- |
4462 |
bits-toindex-wrapped-values.js |
---
description: BigInt.asIntN type coercion for bits parameter
esid: sec-bigint.asintn
info: |
BigInt.asIntN ( bits, bigint )
1. Let bits be ? ToIndex(bits).
features: [BigInt, computed-property-names, Symbol, Symbol.toPrimitive]
--- |
3216 |
bits-toindex.js |
---
description: BigInt.asIntN type coercion for bits parameter
esid: sec-bigint.asintn
info: |
BigInt.asIntN ( bits, bigint )
1. Let bits be ? ToIndex(bits).
features: [BigInt]
--- |
2006 |
browser.js |
|
0 |
length.js |
---
esid: sec-bigint.asintn
description: BigInt.asIntN.length descriptor
info: |
BigInt.asIntN ( bits, bigint )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [BigInt]
--- |
483 |
name.js |
---
esid: sec-bigint.asintn
description: BigInt.asIntN.name descriptor
info: |
BigInt.asIntN ( bits, bigint )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [BigInt]
--- |
486 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
BigInt.asIntN does not implement [[Construct]], is not new-able
info: |
ECMAScript Function Objects
Built-in function objects that are not identified as constructors do not
implement the [[Construct]] internal method unless otherwise specified in
the description of a particular function.
sec-evaluatenew
...
7. If IsConstructor(constructor) is false, throw a TypeError exception.
...
includes: [isConstructor.js]
features: [Reflect.construct, BigInt, arrow-function]
--- |
885 |
order-of-steps.js |
---
esid: sec-bigint.asintn
description: BigInt.asIntN order of parameter type coercion
info: |
BigInt.asIntN ( bits, bigint )
1. Let bits be ? ToIndex(bits).
2. Let bigint ? ToBigInt(bigint).
features: [BigInt]
--- |
615 |
shell.js |
|
0 |