diff --git a/index.bs b/index.bs index 66a0fd434..e5608e1b8 100644 --- a/index.bs +++ b/index.bs @@ -158,12 +158,21 @@ urlPrefix: https://tc39.github.io/ecma262/; spec: ECMA-262 text: NewTarget; url: sec-built-in-function-objects text: Number Type; url: sec-ecmascript-language-types-number-type text: JSON.stringify; url: sec-json.stringify +urlPrefix: https://tc39.github.io/proposal-bigint/; spec: BIGINT + text: ToBigInt; url: #sec-to-bigint; type: abstract-op + text: BigInt; url: #sec-ecmascript-language-types-bigint-type; type: dfn
{ "GEOMETRY": { "aliasOf": "GEOMETRY-1" + }, + "BIGINT": { + "href": "https://tc39.github.io/proposal-bigint/", + "title": "BigInt Specification", + "publisher": "TC39", + "status": "Stage 3 proposal" } }@@ -1171,7 +1180,8 @@ constant declaration gives the value of the constant, which can be one of the two boolean literal tokens (
@@ -5007,6 +5044,18 @@ The [=type name=] of the {{octet}} type is “Octet”. +bigint
+ +The {{bigint}} type is an arbitrary integer, unrestricted in range. + +{{bigint}} constant values in IDL are +represented withbigint +tokens. + +The [=type name=] of the +{{bigint}} type is “BigInt”. + +short
The {{short}} type is a signed integer @@ -6290,6 +6339,9 @@ ECMAScript value type. 1. If Type(|V|) is Number, then return the result of converting |V| to an {{unrestricted double}}. + 1. If Type(|V|) is [=BigInt=], then + return the result of converting |V| + to an {{bigint}}. 1. If Type(|V|) is String, then return the result of converting |V| to a {{DOMString}}. @@ -6720,6 +6772,27 @@ value when its bit pattern is interpreted as an unsigned 64 bit integer. {{unrestricted double}} value.
=
/-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/
=
/-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)n/
=