☰
Table of Contents
- Introduction
- ◢1 Numeric Types
- ◢1.1 The BigInt Type
- 1.1.1 BigInt::unaryMinus (x)
- 1.1.2 BigInt::bitwiseNOT (x)
- 1.1.3 BigInt::exponentiate (base, exponent)
- 1.1.4 BigInt::multiply (x, y)
- 1.1.5 BigInt::divide (x, y)
- 1.1.6 BigInt::remainder (n, d)
- 1.1.7 BigInt::add (x, y)
- 1.1.8 BigInt::subtract (x, y)
- 1.1.9 BigInt::leftShift (x, y)
- 1.1.10 BigInt::signedRightShift (x, y)
- 1.1.11 BigInt::unsignedRightShift (x, y)
- 1.1.12 BigInt::lessThan (x, y)
- 1.1.13 BigInt::equal (x, y)
- 1.1.14 BigInt::sameValue (x, y)
- 1.1.15 BigInt::sameValueZero (x, y)
- 1.1.16 BitwiseOp(op, x, y)
- 1.1.17 BigInt::bitwiseAND (x, y)
- 1.1.18 BigInt::bitwiseXOR (x, y)
- 1.1.19 BigInt::bitwiseOR (x, y)
- ◢2 Modifications to the Number grammar
- 2.1 SS: BigInt Value
- 2.2 SS: Number Value
- ◢3 Abstract Operations
- ◢3.1 Type Conversion
- 3.1.1 ToPrimitive ( input [ , PreferredType ] )
- 3.1.2 ToBoolean ( argument )
- ◢3.1.3 ToNumber ( argument )
- 3.1.3.1 ToNumber Applied to the String Type
- ◢3.1.4 ToString ( argument )
- 3.1.4.1 ToString Applied to the BigInt Type
- 3.1.5 ToObject ( argument )
- 3.1.6 ToNumeric ( value )
- 3.1.7 RequireObjectCoercible ( argument )
- ◢3.2 Testing and Comparison Operations
- 3.2.1 SameValue ( x, y )
- 3.2.2 SameValueZero ( x, y )
- 3.2.3 SameValueNon ( x, y )
- 3.2.4 Abstract Relational Comparison
- 3.2.5 Abstract Equality Comparison
- 3.2.6 Strict Equality Comparison
- ◢4 ECMAScript Language: Expressions
- ◢4.1 Update Expressions
- ◢4.1.1 Postfix Increment Operator
- 4.1.1.1 RS: Evaluation
- ◢4.1.2 Postfix Decrement Operator
- 4.1.2.1 RS: Evaluation
- ◢4.1.3 Prefix Increment Operator
- 4.1.3.1 RS: Evaluation
- ◢4.1.4 Prefix Decrement Operator
- 4.1.4.1 RS: Evaluation
- ◢4.2 Unary Operators
- ◢4.2.1 The
typeof Operator- 4.2.1.1 RS: Evaluation
- ◢4.2.2 Unary
+ Operator- 4.2.2.1 RS: Evaluation
- ◢4.2.3 Unary
- Operator- 4.2.3.1 RS: Evaluation
- ◢4.2.4 Bitwise NOT Operator (
~ )- 4.2.4.1 RS: Evaluation
- ◢4.3 Exponentiation Operator
- 4.3.1 RS: Evaluation
- ◢4.4 Multiplicative Operators
- 4.4.1 RS: Evaluation
- ◢4.5 Additive Operators
- ◢4.5.1 The Addition Operator (
+ )- 4.5.1.1 RS: Evaluation
- ◢4.5.2 The Subtraction Operator (
- )- 4.5.2.1 RS: Evaluation
- ◢4.6 Bitwise Shift Operators
- ◢4.6.1 The Left Shift Operator (
<< )- 4.6.1.1 RS: Evaluation
- ◢4.6.2 The Signed Right Shift Operator (
>> )- 4.6.2.1 RS: Evaluation
- ◢4.6.3 The Unsigned Right Shift Operator (
>>> )- 4.6.3.1 RS: Evaluation
- ◢4.7 Binary Bitwise Operators
- 4.7.1 RS: Evaluation
- ◢5 BigInt Objects
- ◢5.1 The BigInt Constructor
- 5.1.1 IsInteger ( number )
- 5.1.2 NumberToBigInt ( number )
- 5.1.3 BigInt ( value )
- ◢5.2 Properties of the BigInt Constructor
- 5.2.1 BigInt.asUintN ( bits, bigint )
- 5.2.2 BigInt.asIntN ( bits, bigint )
- 5.2.3 BigInt.prototype
- ◢5.3 Properties of the BigInt Prototype Object
- 5.3.1 BigInt.prototype.constructor
- 5.3.2 BigInt.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] )
- 5.3.3 BigInt.prototype.toString ( [ radix ] )
- 5.3.4 BigInt.prototype.valueOf ( )
- 5.3.5 BigInt.prototype [ @@toStringTag ]
- ◢6 Modified algorithms
- 6.1 RS: SerializeJSONProperty ( key, holder )
- 6.2 Number ( value )
- 6.3 Math.pow ( base, exponent )
- ◢7 TypedArrays and DataViews
- 7.1 TypedArray Objects
- 7.2 StringToBigInt ( argument )
- 7.3 ToBigInt ( argument )
- 7.4 ToBigInt64 ( argument )
- 7.5 ToBigUint64 ( argument )
- 7.6 RawBytesTo( type, rawBytes, isLittleEndian )
- 7.7 ToRawBytes( type, value, isLittleEndian )
- 7.8 IntegerIndexedElementSet ( O, index, value )
- 7.9 SetValueInBuffer ( arrayBuffer, byteIndex, type, value, isTypedArray, order [ , isLittleEndian ] )
- 7.10 GetValueFromBuffer ( arrayBuffer, byteIndex, type, isTypedArray, order [ , isLittleEndian ] )
- 7.11 GetModifySetValueInBuffer( arrayBuffer, byteIndex, type, value, op [ , isLittleEndian ] )
- 7.12 ValidateSharedIntegerTypedArray(typedArray [ , waitable ] )
- 7.13 AtomicReadModifyWrite( typedArray, index, value, op )
- 7.14 Atomics.compareExchange ( typedArray, index, expectedValue, replacementValue )
- 7.15 Atomics.isLockFree( size )
- 7.16 Atomics.wait( typedArray, index, value, timeout )
- 7.17 Atomics.notify( typedArray, index, count )
- 7.18 Atomics.store( typedArray, index, value )
- 7.19 %TypedArray%.prototype.sort ( comparefn )
- 7.20 TypedArraySpeciesCreate ( exemplar, argumentList )
- 7.21 %TypedArray%.prototype.fill ( value [ , start [ , end ] ] )
- 7.22 %TypedArray%.prototype.set ( array [ , offset ] )
- 7.23 %TypedArray%.prototype.set( typedArray [ , offset ] )
- 7.24 TypedArray ( typedArray )
- 7.25 SetViewValue ( view, requestIndex, isLittleEndian, type, value )
- 7.26 DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
- 7.27 DataView.prototype.getBigUint64 ( byteOffset [ , littleEndian ] )
- 7.28 DataView.prototype.setBigInt64 ( byteOffset, value [ , littleEndian ] )
- 7.29 DataView.prototype.setBigUint64 ( byteOffset, value [ , littleEndian ] )
- 8 Agents
Stage 4 Draft / September 30, 2019
BigInt