diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 6659d2b3..5b15464e 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -16,7 +16,7 @@ jobs: - name: ensure no line starts with tabs - run: | for f in *emu; do - if ! [ grep '^\t' "$f"]; then + if ! [ grep '^\t' "$f" ]; then echo "$f has lines that begin with a tab"; exit 1; fi diff --git a/Makefile b/Makefile index aeefcafd..830c03a3 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ all: index.html -index.html: - npx ecmarkup --lint-spec --strict --load-biblio @tc39/ecma262-biblio --load-biblio @tc39/ecma402-biblio spec.emu $< +index.html: spec.emu intl.emu + npx ecmarkup --lint-spec --strict --load-biblio @tc39/ecma262-biblio --load-biblio @tc39/ecma402-biblio spec.emu $@ clean: rm -f index.html diff --git a/index.html b/index.html index aaea927d..0585d8d8 100644 --- a/index.html +++ b/index.html @@ -1559,7 +1559,7 @@ }); let sdoMap = JSON.parse(`{}`); -let biblio = JSON.parse(`{"refsByClause":{"sec-decimal.prototype.compare":["_ref_0","_ref_1","_ref_96"],"sec-decimal-method-round":["_ref_2","_ref_97"],"sec-decimal.prototype.tostring":["_ref_3","_ref_4","_ref_98","_ref_99"],"sec-tointlmathematicalvalue":["_ref_5","_ref_104","_ref_105","_ref_106","_ref_107","_ref_108","_ref_109","_ref_110"],"sec-tostring":["_ref_6","_ref_7"],"sec-decimal-intro":["_ref_8","_ref_9","_ref_10","_ref_11","_ref_12","_ref_13","_ref_14","_ref_15","_ref_16","_ref_17","_ref_18","_ref_19","_ref_20","_ref_21","_ref_22","_ref_23","_ref_24","_ref_25","_ref_26","_ref_27","_ref_28","_ref_29","_ref_30","_ref_31","_ref_32","_ref_33","_ref_34","_ref_35","_ref_36","_ref_37","_ref_38","_ref_39","_ref_40","_ref_41","_ref_42","_ref_43","_ref_44","_ref_45","_ref_46","_ref_47","_ref_48","_ref_49"],"sec-decimal128-isintegraldecimal128value":["_ref_50"],"sec-the-decimal128-constructor-value":["_ref_51"],"sec-decimal.prototype.isfinite":["_ref_52"],"sec-decimal.prototype.abs":["_ref_53","_ref_54","_ref_55"],"sec-decimal.prototype.neg":["_ref_56","_ref_57","_ref_58"],"sec-decimal.prototype.add":["_ref_59","_ref_60","_ref_61","_ref_62","_ref_63","_ref_64","_ref_65","_ref_66"],"sec-decimal.prototype.subtract":["_ref_67","_ref_68","_ref_69","_ref_70","_ref_71","_ref_72","_ref_73","_ref_74"],"sec-decimal.prototype.multiply":["_ref_75","_ref_76","_ref_77","_ref_78","_ref_79","_ref_80","_ref_81","_ref_82","_ref_83","_ref_84","_ref_85","_ref_86","_ref_87"],"sec-decimal.prototype.divide":["_ref_88","_ref_89","_ref_90","_ref_91"],"sec-decimal.prototype.remainder":["_ref_92","_ref_93","_ref_94","_ref_95"],"sec-decimal.prototype.tobigint":["_ref_100"],"sec-decimal.prototype.tonumber":["_ref_101"],"sec-bigint-constructor-number-value":["_ref_102"],"sec-numbertobigint":["_ref_103"],"sec-formatnumberstring":["_ref_111","_ref_112","_ref_113","_ref_114","_ref_115","_ref_116","_ref_117","_ref_118"],"sec-torawprecision":["_ref_119","_ref_120","_ref_121","_ref_122","_ref_123","_ref_124","_ref_125","_ref_126","_ref_127","_ref_128","_ref_129","_ref_130","_ref_131","_ref_132","_ref_133"],"sec-torawfixed":["_ref_134","_ref_135","_ref_136","_ref_137","_ref_138","_ref_139","_ref_140","_ref_141","_ref_142","_ref_143","_ref_144","_ref_145","_ref_146"],"sec-partitionnumberpattern":["_ref_147","_ref_148","_ref_149","_ref_150","_ref_151"]},"entries":[{"type":"clause","id":"sec-decimal-intro-","titleHTML":"Introduction","number":""},{"type":"op","aoid":"ToString","refId":"sec-tostring"},{"type":"clause","id":"sec-tostring","title":"ToString ( argument )","titleHTML":"ToString ( argument )","number":"1.1.1","referencingIds":["_ref_7"]},{"type":"clause","id":"sec-type-conversion","titleHTML":"Type Conversion","number":"1.1"},{"type":"clause","id":"sec-abstract-operations","titleHTML":"Abstract Operations","number":"1"},{"type":"term","term":"mathematical value","id":"dfn-decimal128-mathematical-value","referencingIds":["_ref_5","_ref_10","_ref_11","_ref_18","_ref_34","_ref_96","_ref_108","_ref_109","_ref_110","_ref_111","_ref_112","_ref_114","_ref_120","_ref_123","_ref_124","_ref_125","_ref_130","_ref_132","_ref_135","_ref_138","_ref_139","_ref_143","_ref_145","_ref_150"]},{"type":"term","term":"finite","id":"dfn-decimal128-finite","referencingIds":["_ref_12","_ref_15","_ref_16","_ref_19","_ref_20","_ref_32","_ref_35","_ref_37","_ref_39","_ref_41","_ref_43","_ref_46","_ref_49","_ref_50","_ref_52","_ref_105","_ref_121","_ref_136"]},{"type":"term","term":"zero","id":"dfn-decimal128-zero","referencingIds":["_ref_8","_ref_9","_ref_13","_ref_14","_ref_17","_ref_21","_ref_25","_ref_26","_ref_33","_ref_36","_ref_38","_ref_40","_ref_42","_ref_44","_ref_45","_ref_47","_ref_48","_ref_78","_ref_83","_ref_107","_ref_129"]},{"type":"term","term":"negative","refId":"sec-decimal-intro"},{"type":"term","term":"rounding mode","id":"dfn-decimal128-rounding-mode","referencingIds":["_ref_2","_ref_4","_ref_22","_ref_23","_ref_27"]},{"type":"term","term":"default rounding mode","id":"dfn-decimal128-default-rounding-mode","referencingIds":["_ref_3"]},{"type":"table","id":"table-decimal128-rounding-modes","number":1,"caption":"Table 1: Rounding modes in Decimal128 compared to IEEE 754 rounding modes"},{"type":"term","term":"cohort","id":"dfn-decimal128-cohort","referencingIds":["_ref_28","_ref_29","_ref_30","_ref_31"]},{"type":"term","term":"exponent","refId":"sec-decimal-intro"},{"type":"term","term":"significand","refId":"sec-decimal-intro"},{"type":"term","term":"normalized","refId":"sec-decimal-intro"},{"type":"term","term":"denormalized","refId":"sec-decimal-intro"},{"type":"term","term":"truncated exponent","refId":"sec-decimal-intro"},{"type":"term","term":"scaled significand","refId":"sec-decimal-intro"},{"type":"clause","id":"sec-decimal-intro","titleHTML":"Introduction","number":"","referencingIds":["_ref_24","_ref_106","_ref_119","_ref_122","_ref_127","_ref_128","_ref_134","_ref_137","_ref_141","_ref_142","_ref_148","_ref_149"]},{"type":"op","aoid":"ToDecimal128","refId":"sec-decimal128-todecimal128"},{"type":"clause","id":"sec-decimal128-todecimal128","title":"ToDecimal128 ( argument )","titleHTML":"ToDecimal128 ( argument )","number":"2.1.1","referencingIds":["_ref_51"]},{"type":"op","aoid":"Decimal128ToDecimalString","refId":"sec-decimal128-decimal128todecimalstring"},{"type":"clause","id":"sec-decimal128-decimal128todecimalstring","title":"Decimal128ToDecimalString ( argument )","titleHTML":"Decimal128ToDecimalString ( argument )","number":"2.1.2","referencingIds":["_ref_6","_ref_98","_ref_101","_ref_126","_ref_140"]},{"type":"op","aoid":"Decimal128ToExponentialString","refId":"sec-decimal128toexponentialstring"},{"type":"clause","id":"sec-decimal128toexponentialstring","title":"Decimal128ToExponentialString ( argument )","titleHTML":"Decimal128ToExponentialString ( argument )","number":"2.1.3","referencingIds":["_ref_99"]},{"type":"op","aoid":"IsIntegralDecimal128","refId":"sec-decimal128-isintegraldecimal128value"},{"type":"clause","id":"sec-decimal128-isintegraldecimal128value","title":"IsIntegralDecimal128 ( argument )","titleHTML":"IsIntegralDecimal128 ( argument )","number":"2.1.4","referencingIds":["_ref_100","_ref_103"]},{"type":"op","aoid":"Decimal128ValueToObject","refId":"sec-decimal128-value-to-object"},{"type":"clause","id":"sec-decimal128-value-to-object","title":"Decimal128ValueToObject ( argument )","titleHTML":"Decimal128ValueToObject ( argument )","number":"2.1.5","referencingIds":["_ref_53","_ref_54","_ref_55","_ref_56","_ref_57","_ref_58","_ref_59","_ref_60","_ref_61","_ref_62","_ref_63","_ref_64","_ref_65","_ref_66","_ref_67","_ref_68","_ref_69","_ref_70","_ref_71","_ref_72","_ref_73","_ref_74","_ref_75","_ref_76","_ref_77","_ref_79","_ref_80","_ref_81","_ref_82","_ref_84","_ref_85","_ref_86","_ref_87","_ref_88","_ref_89","_ref_90","_ref_91","_ref_92","_ref_93","_ref_94","_ref_95","_ref_97"]},{"type":"clause","id":"sec-decimal-abstract-ops","titleHTML":"Abstract Operations","number":"2.1"},{"type":"term","term":"%Decimal128","refId":"sec-the-decimal-constructor"},{"type":"clause","id":"sec-the-decimal128-constructor-value","title":"Decimal128 ( x [ , options ] )","titleHTML":"Decimal128 ( x [ , options ] )","number":"2.2.1"},{"type":"clause","id":"sec-the-decimal-constructor","titleHTML":"The Decimal128 Constructor","number":"2.2"},{"type":"clause","id":"sec-the-decimal-object","titleHTML":"The Decimal128 Object","number":"2"},{"type":"clause","id":"sec-decimal.prototype.isnan","titleHTML":"get Decimal128.prototype.isNaN","number":"3.1"},{"type":"clause","id":"sec-decimal.prototype.isfinite","titleHTML":"get Decimal128.prototype.isFinite","number":"3.2"},{"type":"clause","id":"sec-decimal.prototype.abs","titleHTML":"Decimal128.prototype.abs ( )","number":"3.3"},{"type":"clause","id":"sec-decimal.prototype.neg","titleHTML":"Decimal128.prototype.neg ( )","number":"3.4"},{"type":"clause","id":"sec-decimal.prototype.add","title":"Decimal128.prototype.add ( x )","titleHTML":"Decimal128.prototype.add ( x )","number":"3.5"},{"type":"clause","id":"sec-decimal.prototype.subtract","title":"Decimal128.prototype.subtract ( x )","titleHTML":"Decimal128.prototype.subtract ( x )","number":"3.6"},{"type":"clause","id":"sec-decimal.prototype.multiply","title":"Decimal128.prototype.multiply ( x )","titleHTML":"Decimal128.prototype.multiply ( x )","number":"3.7"},{"type":"clause","id":"sec-decimal.prototype.divide","title":"Decimal128.prototype.divide ( x )","titleHTML":"Decimal128.prototype.divide ( x )","number":"3.8"},{"type":"clause","id":"sec-decimal.prototype.remainder","title":"Decimal128.prototype.remainder ( x )","titleHTML":"Decimal128.prototype.remainder ( x )","number":"3.9"},{"type":"clause","id":"sec-decimal.prototype.equals","title":"Decimal128.prototype.equals ( x )","titleHTML":"Decimal128.prototype.equals ( x )","number":"3.10","referencingIds":["_ref_1"]},{"type":"clause","id":"sec-decimal.prototype.lessthan","title":"Decimal128.prototype.lessThan ( x )","titleHTML":"Decimal128.prototype.lessThan ( x )","number":"3.11","referencingIds":["_ref_0"]},{"type":"clause","id":"sec-decimal.prototype.compare","title":"Decimal128.prototype.compare ( x )","titleHTML":"Decimal128.prototype.compare ( x )","number":"3.12"},{"type":"clause","id":"sec-decimal-method-round","title":"Decimal128.prototype.round ( numFractionalDigits [ , mode ] )","titleHTML":"Decimal128.prototype.round ( numFractionalDigits [ , mode ] )","number":"3.13"},{"type":"clause","id":"sec-decimal.prototype.tostring","title":"Decimal128.prototype.toString ( [ options ] )","titleHTML":"Decimal128.prototype.toString ( [ options ] )","number":"3.14"},{"type":"clause","id":"sec-decimal.prototype.tobigint","titleHTML":"Decimal128.prototype.toBigInt ( )","number":"3.15"},{"type":"clause","id":"sec-decimal.prototype.tonumber","titleHTML":"Decimal128.prototype.toNumber ( )","number":"3.16"},{"type":"clause","id":"sec-decimal.prototype.valueof","title":"Decimal128.prototype.valueOf ( x )","titleHTML":"Decimal128.prototype.valueOf ( x )","number":"3.17"},{"type":"clause","id":"sec-decimal-prototype-properties","titleHTML":"Properties of the Decimal128 Prototype","number":"3"},{"type":"clause","id":"sec-number-constructor-number-value","title":"Number ( value )","titleHTML":"Number ( value )","number":"4.1.1.1"},{"type":"clause","id":"sec-number-constructor","titleHTML":"The Number Constructor","number":"4.1.1"},{"type":"clause","id":"sec-number-objects","titleHTML":"Number Objects","number":"4.1"},{"type":"op","aoid":"Decimal128ToBigInt","refId":"sec-numbertobigint"},{"type":"clause","id":"sec-numbertobigint","title":"Decimal128ToBigInt ( number )","titleHTML":"Decimal128ToBigInt ( number )","number":"4.2.1.1.1","referencingIds":["_ref_102"]},{"type":"clause","id":"sec-bigint-constructor-number-value","title":"BigInt ( value )","titleHTML":"BigInt ( value )","number":"4.2.1.1"},{"type":"clause","id":"sec-bigint-constructor","titleHTML":"The BigInt Constructor","number":"4.2.1"},{"type":"clause","id":"sec-bigint-objects","titleHTML":"BigInt Objects","number":"4.2"},{"type":"clause","id":"sec-numbers-and-dates","titleHTML":"Numbers and Dates","number":"4"},{"type":"clause","id":"sec-decimal-intl","titleHTML":"Amendments to the ECMAScript® 2024 Internationalization API Specification","number":""},{"type":"term","term":"Intl mathematical value","id":"intl-mathematical-value","referencingIds":["_ref_104","_ref_113","_ref_147"]},{"type":"op","aoid":"ToIntlMathematicalValue","refId":"sec-tointlmathematicalvalue"},{"type":"clause","id":"sec-tointlmathematicalvalue","title":"ToIntlMathematicalValue ( value )","titleHTML":"ToIntlMathematicalValue ( value )","number":"5.1.1"},{"type":"op","aoid":"FormatNumericToString","refId":"sec-formatnumberstring"},{"type":"clause","id":"sec-formatnumberstring","title":"FormatNumericToString ( intlObject, x )","titleHTML":"FormatNumericToString ( intlObject, x )","number":"5.1.2","referencingIds":["_ref_151"]},{"type":"op","aoid":"ToRawPrecisionFn","id":"eqn-ToRawPrecisionFn","referencingIds":["_ref_131","_ref_133"]},{"type":"op","aoid":"ToRawPrecision","refId":"sec-torawprecision"},{"type":"clause","id":"sec-torawprecision","title":"ToRawPrecision ( x, minPrecision, maxPrecision, unsignedRoundingMode )","titleHTML":"ToRawPrecision ( x, minPrecision, maxPrecision, unsignedRoundingMode )","number":"5.1.3","referencingIds":["_ref_115","_ref_117"]},{"type":"op","aoid":"ToRawFixedFn","id":"eqn-ToRawFixedFn","referencingIds":["_ref_144","_ref_146"]},{"type":"op","aoid":"ToRawFixed","refId":"sec-torawfixed"},{"type":"clause","id":"sec-torawfixed","title":"ToRawFixed ( x, minFraction, maxFraction, roundingIncrement, unsignedRoundingMode )","titleHTML":"ToRawFixed ( x, minFraction, maxFraction, roundingIncrement, unsignedRoundingMode )","number":"5.1.4","referencingIds":["_ref_116","_ref_118"]},{"type":"op","aoid":"PartitionNumberPattern","refId":"sec-partitionnumberpattern"},{"type":"clause","id":"sec-partitionnumberpattern","title":"PartitionNumberPattern ( numberFormat, x )","titleHTML":"PartitionNumberPattern ( numberFormat, x )","number":"5.1.5"},{"type":"clause","id":"sec-numberformat-abstracts","titleHTML":"Abstract Operations for NumberFormat Objects","number":"5.1"},{"type":"clause","id":"numberformat-objects","titleHTML":"NumberFormat Objects","number":"5"},{"type":"clause","id":"sec-copyright-and-software-license","title":"Copyright & Software License","titleHTML":"Copyright & Software License","number":"A"}]}`); +let biblio = JSON.parse(`{"refsByClause":{"sec-decimal.prototype.compare":["_ref_0","_ref_1","_ref_109"],"sec-decimal-method-round":["_ref_2","_ref_110","_ref_111","_ref_112","_ref_113"],"sec-tointlmathematicalvalue":["_ref_3","_ref_126","_ref_127","_ref_128","_ref_129","_ref_130","_ref_131","_ref_132"],"sec-tostring":["_ref_4","_ref_5"],"sec-decimal-intro":["_ref_6","_ref_7","_ref_8","_ref_9","_ref_10","_ref_11","_ref_12","_ref_13","_ref_14","_ref_15","_ref_16","_ref_17","_ref_18","_ref_19","_ref_20","_ref_21","_ref_22","_ref_23","_ref_24","_ref_25","_ref_26","_ref_27","_ref_28","_ref_29","_ref_30","_ref_31","_ref_32","_ref_33","_ref_34","_ref_35","_ref_36","_ref_37","_ref_38","_ref_39","_ref_40","_ref_41","_ref_42","_ref_43","_ref_44","_ref_45","_ref_46","_ref_47"],"sec-decimal128-isintegraldecimal128value":["_ref_48"],"sec-decimal128-value-to-object":["_ref_49"],"sec-decimal128-d":["_ref_50","_ref_51","_ref_52","_ref_53","_ref_54"],"sec-the-decimal128-constructor-value":["_ref_55","_ref_56","_ref_57","_ref_58","_ref_59"],"sec-decimal.prototype.isfinite":["_ref_60"],"sec-decimal.prototype.abs":["_ref_61","_ref_62","_ref_63"],"sec-decimal.prototype.neg":["_ref_64","_ref_65","_ref_66"],"sec-decimal.prototype.add":["_ref_67","_ref_68","_ref_69","_ref_70","_ref_71","_ref_72","_ref_73","_ref_74","_ref_75"],"sec-decimal.prototype.subtract":["_ref_76","_ref_77","_ref_78","_ref_79","_ref_80","_ref_81","_ref_82","_ref_83","_ref_84"],"sec-decimal.prototype.multiply":["_ref_85","_ref_86","_ref_87","_ref_88","_ref_89","_ref_90","_ref_91","_ref_92","_ref_93","_ref_94","_ref_95","_ref_96","_ref_97","_ref_98"],"sec-decimal.prototype.divide":["_ref_99","_ref_100","_ref_101","_ref_102","_ref_103"],"sec-decimal.prototype.remainder":["_ref_104","_ref_105","_ref_106","_ref_107","_ref_108"],"sec-decimal.prototype.tostring":["_ref_114"],"sec-decimal.prototype.toexponential":["_ref_115"],"sec-decimal.prototype.tofixed":["_ref_116"],"sec-decimal.prototype.toprecision":["_ref_117","_ref_118","_ref_119","_ref_120"],"sec-decimal.prototype.tobigint":["_ref_121"],"sec-decimal.prototype.tonumber":["_ref_122"],"sec-number-constructor-number-value":["_ref_123"],"sec-bigint-constructor-number-value":["_ref_124"],"sec-numbertobigint":["_ref_125"],"sec-formatnumberstring":["_ref_133","_ref_134","_ref_135","_ref_136","_ref_137","_ref_138","_ref_139","_ref_140"],"sec-torawprecision":["_ref_141","_ref_142","_ref_143","_ref_144","_ref_145","_ref_146","_ref_147","_ref_148","_ref_149","_ref_150","_ref_151","_ref_152","_ref_153","_ref_154","_ref_155"],"sec-torawfixed":["_ref_156","_ref_157","_ref_158","_ref_159","_ref_160","_ref_161","_ref_162","_ref_163","_ref_164","_ref_165","_ref_166","_ref_167","_ref_168"],"sec-partitionnumberpattern":["_ref_169","_ref_170","_ref_171","_ref_172","_ref_173"]},"entries":[{"type":"clause","id":"sec-decimal-intro-","titleHTML":"Introduction","number":""},{"type":"op","aoid":"ToString","refId":"sec-tostring"},{"type":"clause","id":"sec-tostring","title":"ToString ( argument )","titleHTML":"ToString ( argument )","number":"1.1.1","referencingIds":["_ref_5"]},{"type":"clause","id":"sec-type-conversion","titleHTML":"Type Conversion","number":"1.1"},{"type":"clause","id":"sec-abstract-operations","titleHTML":"Abstract Operations","number":"1"},{"type":"term","term":"mathematical value","id":"dfn-decimal128-mathematical-value","referencingIds":["_ref_3","_ref_8","_ref_9","_ref_16","_ref_32","_ref_50","_ref_51","_ref_55","_ref_56","_ref_58","_ref_109","_ref_130","_ref_131","_ref_132","_ref_133","_ref_134","_ref_136","_ref_142","_ref_145","_ref_146","_ref_147","_ref_152","_ref_154","_ref_157","_ref_160","_ref_161","_ref_165","_ref_167","_ref_172"]},{"type":"term","term":"finite","id":"dfn-decimal128-finite","referencingIds":["_ref_10","_ref_13","_ref_14","_ref_17","_ref_18","_ref_30","_ref_33","_ref_35","_ref_37","_ref_39","_ref_41","_ref_44","_ref_47","_ref_48","_ref_60","_ref_127","_ref_143","_ref_158"]},{"type":"term","term":"zero","id":"dfn-decimal128-zero","referencingIds":["_ref_6","_ref_7","_ref_11","_ref_12","_ref_15","_ref_19","_ref_23","_ref_24","_ref_31","_ref_34","_ref_36","_ref_38","_ref_40","_ref_42","_ref_43","_ref_45","_ref_46","_ref_88","_ref_93","_ref_129","_ref_151"]},{"type":"term","term":"negative","refId":"sec-decimal-intro"},{"type":"term","term":"rounding mode","id":"dfn-decimal128-rounding-mode","referencingIds":["_ref_20","_ref_21","_ref_25","_ref_52","_ref_110","_ref_113"]},{"type":"term","term":"default rounding mode","id":"dfn-decimal128-default-rounding-mode","referencingIds":["_ref_2"]},{"type":"table","id":"table-decimal128-rounding-modes","number":1,"caption":"Table 1: Rounding modes in Decimal128 compared to IEEE 754 rounding modes"},{"type":"term","term":"cohort","id":"dfn-decimal128-cohort","referencingIds":["_ref_26","_ref_27","_ref_28","_ref_29"]},{"type":"term","term":"exponent","refId":"sec-decimal-intro"},{"type":"term","term":"significand","refId":"sec-decimal-intro"},{"type":"term","term":"normalized","refId":"sec-decimal-intro"},{"type":"term","term":"denormalized","refId":"sec-decimal-intro"},{"type":"term","term":"truncated exponent","refId":"sec-decimal-intro"},{"type":"term","term":"scaled significand","refId":"sec-decimal-intro"},{"type":"clause","id":"sec-decimal-intro","titleHTML":"Introduction","number":"","referencingIds":["_ref_22","_ref_128","_ref_141","_ref_144","_ref_149","_ref_150","_ref_156","_ref_159","_ref_163","_ref_164","_ref_170","_ref_171"]},{"type":"op","aoid":"Decimal128ToDecimalString","refId":"sec-decimal128-decimal128todecimalstring"},{"type":"clause","id":"sec-decimal128-decimal128todecimalstring","title":"Decimal128ToDecimalString ( argument )","titleHTML":"Decimal128ToDecimalString ( argument )","number":"2.1.1","referencingIds":["_ref_4","_ref_114","_ref_116","_ref_117","_ref_118","_ref_120","_ref_122","_ref_148","_ref_162"]},{"type":"op","aoid":"Decimal128ToExponentialString","refId":"sec-decimal128toexponentialstring"},{"type":"clause","id":"sec-decimal128toexponentialstring","title":"Decimal128ToExponentialString ( argument )","titleHTML":"Decimal128ToExponentialString ( argument )","number":"2.1.2","referencingIds":["_ref_115"]},{"type":"op","aoid":"IsIntegralDecimal128","refId":"sec-decimal128-isintegraldecimal128value"},{"type":"clause","id":"sec-decimal128-isintegraldecimal128value","title":"IsIntegralDecimal128 ( argument )","titleHTML":"IsIntegralDecimal128 ( argument )","number":"2.1.3","referencingIds":["_ref_121","_ref_125"]},{"type":"op","aoid":"Decimal128ValueToObject","refId":"sec-decimal128-value-to-object"},{"type":"clause","id":"sec-decimal128-value-to-object","title":"Decimal128ValueToObject ( argument )","titleHTML":"Decimal128ValueToObject ( argument )","number":"2.1.4","referencingIds":["_ref_61","_ref_62","_ref_63","_ref_64","_ref_65","_ref_66","_ref_67","_ref_68","_ref_69","_ref_70","_ref_71","_ref_72","_ref_73","_ref_74","_ref_76","_ref_77","_ref_78","_ref_79","_ref_80","_ref_81","_ref_82","_ref_83","_ref_85","_ref_86","_ref_87","_ref_89","_ref_90","_ref_91","_ref_92","_ref_94","_ref_95","_ref_96","_ref_97","_ref_99","_ref_100","_ref_101","_ref_102","_ref_104","_ref_105","_ref_106","_ref_107","_ref_111"]},{"type":"op","aoid":"EnsureDecimal128Value","refId":"sec-decimal128-d"},{"type":"clause","id":"sec-decimal128-d","title":"EnsureDecimal128Value ( coefficient, intendedExponent, roundingMode )","titleHTML":"EnsureDecimal128Value ( coefficient, intendedExponent, roundingMode )","number":"2.1.5","referencingIds":["_ref_53","_ref_54","_ref_57","_ref_59","_ref_75","_ref_84","_ref_98","_ref_103","_ref_108","_ref_112","_ref_119"]},{"type":"clause","id":"sec-decimal-abstract-ops","titleHTML":"Abstract Operations","number":"2.1"},{"type":"term","term":"%Decimal128%","refId":"sec-the-decimal-constructor"},{"type":"clause","id":"sec-the-decimal128-constructor-value","title":"Decimal128 ( x )","titleHTML":"Decimal128 ( x )","number":"2.2.1"},{"type":"clause","id":"sec-the-decimal-constructor","titleHTML":"The Decimal128 Constructor","number":"2.2","referencingIds":["_ref_49","_ref_123"]},{"type":"clause","id":"sec-the-decimal-object","titleHTML":"The Decimal128 Object","number":"2"},{"type":"clause","id":"sec-decimal.prototype.isnan","titleHTML":"get Decimal128.prototype.isNaN","number":"3.1"},{"type":"clause","id":"sec-decimal.prototype.isfinite","titleHTML":"get Decimal128.prototype.isFinite","number":"3.2"},{"type":"clause","id":"sec-decimal.prototype.abs","titleHTML":"Decimal128.prototype.abs ( )","number":"3.3"},{"type":"clause","id":"sec-decimal.prototype.neg","titleHTML":"Decimal128.prototype.neg ( )","number":"3.4"},{"type":"clause","id":"sec-decimal.prototype.add","title":"Decimal128.prototype.add ( x )","titleHTML":"Decimal128.prototype.add ( x )","number":"3.5"},{"type":"clause","id":"sec-decimal.prototype.subtract","title":"Decimal128.prototype.subtract ( x )","titleHTML":"Decimal128.prototype.subtract ( x )","number":"3.6"},{"type":"clause","id":"sec-decimal.prototype.multiply","title":"Decimal128.prototype.multiply ( x )","titleHTML":"Decimal128.prototype.multiply ( x )","number":"3.7"},{"type":"clause","id":"sec-decimal.prototype.divide","title":"Decimal128.prototype.divide ( x )","titleHTML":"Decimal128.prototype.divide ( x )","number":"3.8"},{"type":"clause","id":"sec-decimal.prototype.remainder","title":"Decimal128.prototype.remainder ( x )","titleHTML":"Decimal128.prototype.remainder ( x )","number":"3.9"},{"type":"clause","id":"sec-decimal.prototype.equals","title":"Decimal128.prototype.equals ( x )","titleHTML":"Decimal128.prototype.equals ( x )","number":"3.10","referencingIds":["_ref_1"]},{"type":"clause","id":"sec-decimal.prototype.lessthan","title":"Decimal128.prototype.lessThan ( x )","titleHTML":"Decimal128.prototype.lessThan ( x )","number":"3.11","referencingIds":["_ref_0"]},{"type":"clause","id":"sec-decimal.prototype.compare","title":"Decimal128.prototype.compare ( x )","titleHTML":"Decimal128.prototype.compare ( x )","number":"3.12"},{"type":"clause","id":"sec-decimal-method-round","title":"Decimal128.prototype.round ( numFractionalDigits [ , roundingMode ] )","titleHTML":"Decimal128.prototype.round ( numFractionalDigits [ , roundingMode ] )","number":"3.13"},{"type":"clause","id":"sec-decimal.prototype.tostring","titleHTML":"Decimal128.prototype.toString ( )","number":"3.14"},{"type":"clause","id":"sec-decimal.prototype.toexponential","titleHTML":"Decimal128.prototype.toExponential ( )","number":"3.15"},{"type":"clause","id":"sec-decimal.prototype.tofixed","title":"Decimal128.prototype.toFixed ( [ numDigits ] )","titleHTML":"Decimal128.prototype.toFixed ( [ numDigits ] )","number":"3.16"},{"type":"clause","id":"sec-decimal.prototype.toprecision","title":"Decimal128.prototype.toPrecision ( [ precision ] )","titleHTML":"Decimal128.prototype.toPrecision ( [ precision ] )","number":"3.17"},{"type":"clause","id":"sec-decimal.prototype.tobigint","titleHTML":"Decimal128.prototype.toBigInt ( )","number":"3.18"},{"type":"clause","id":"sec-decimal.prototype.tonumber","titleHTML":"Decimal128.prototype.toNumber ( )","number":"3.19"},{"type":"clause","id":"sec-decimal.prototype.valueof","title":"Decimal128.prototype.valueOf ( x )","titleHTML":"Decimal128.prototype.valueOf ( x )","number":"3.20"},{"type":"clause","id":"sec-decimal-prototype-properties","titleHTML":"Properties of the Decimal128 Prototype","number":"3"},{"type":"clause","id":"sec-number-constructor-number-value","title":"Number ( value )","titleHTML":"Number ( value )","number":"4.1.1.1"},{"type":"clause","id":"sec-number-constructor","titleHTML":"The Number Constructor","number":"4.1.1"},{"type":"clause","id":"sec-number-objects","titleHTML":"Number Objects","number":"4.1"},{"type":"op","aoid":"Decimal128ToBigInt","refId":"sec-numbertobigint"},{"type":"clause","id":"sec-numbertobigint","title":"Decimal128ToBigInt ( number )","titleHTML":"Decimal128ToBigInt ( number )","number":"4.2.1.1.1","referencingIds":["_ref_124"]},{"type":"clause","id":"sec-bigint-constructor-number-value","title":"BigInt ( value )","titleHTML":"BigInt ( value )","number":"4.2.1.1"},{"type":"clause","id":"sec-bigint-constructor","titleHTML":"The BigInt Constructor","number":"4.2.1"},{"type":"clause","id":"sec-bigint-objects","titleHTML":"BigInt Objects","number":"4.2"},{"type":"clause","id":"sec-numbers-and-dates","titleHTML":"Numbers and Dates","number":"4"},{"type":"clause","id":"sec-decimal-intl","titleHTML":"Amendments to the ECMAScript® 2024 Internationalization API Specification","number":""},{"type":"term","term":"Intl mathematical value","id":"intl-mathematical-value","referencingIds":["_ref_126","_ref_135","_ref_169"]},{"type":"op","aoid":"ToIntlMathematicalValue","refId":"sec-tointlmathematicalvalue"},{"type":"clause","id":"sec-tointlmathematicalvalue","title":"ToIntlMathematicalValue ( value )","titleHTML":"ToIntlMathematicalValue ( value )","number":"5.1.1"},{"type":"op","aoid":"FormatNumericToString","refId":"sec-formatnumberstring"},{"type":"clause","id":"sec-formatnumberstring","title":"FormatNumericToString ( intlObject, x )","titleHTML":"FormatNumericToString ( intlObject, x )","number":"5.1.2","referencingIds":["_ref_173"]},{"type":"op","aoid":"ToRawPrecisionFn","id":"eqn-ToRawPrecisionFn","referencingIds":["_ref_153","_ref_155"]},{"type":"op","aoid":"ToRawPrecision","refId":"sec-torawprecision"},{"type":"clause","id":"sec-torawprecision","title":"ToRawPrecision ( x, minPrecision, maxPrecision, unsignedRoundingMode )","titleHTML":"ToRawPrecision ( x, minPrecision, maxPrecision, unsignedRoundingMode )","number":"5.1.3","referencingIds":["_ref_137","_ref_139"]},{"type":"op","aoid":"ToRawFixedFn","id":"eqn-ToRawFixedFn","referencingIds":["_ref_166","_ref_168"]},{"type":"op","aoid":"ToRawFixed","refId":"sec-torawfixed"},{"type":"clause","id":"sec-torawfixed","title":"ToRawFixed ( x, minFraction, maxFraction, roundingIncrement, unsignedRoundingMode )","titleHTML":"ToRawFixed ( x, minFraction, maxFraction, roundingIncrement, unsignedRoundingMode )","number":"5.1.4","referencingIds":["_ref_138","_ref_140"]},{"type":"op","aoid":"PartitionNumberPattern","refId":"sec-partitionnumberpattern"},{"type":"clause","id":"sec-partitionnumberpattern","title":"PartitionNumberPattern ( numberFormat, x )","titleHTML":"PartitionNumberPattern ( numberFormat, x )","number":"5.1.5"},{"type":"clause","id":"sec-numberformat-abstracts","titleHTML":"Abstract Operations for NumberFormat Objects","number":"5.1"},{"type":"clause","id":"numberformat-objects","titleHTML":"NumberFormat Objects","number":"5"},{"type":"clause","id":"sec-copyright-and-software-license","title":"Copyright & Software License","titleHTML":"Copyright & Software License","number":"A"}]}`); ;let usesMultipage = false