From dde15aaa171b7ac84955b410609111c96b9a19a8 Mon Sep 17 00:00:00 2001 From: Jesse Alama Date: Tue, 11 Jun 2024 16:03:49 +0300 Subject: [PATCH] Use "cohort of" and "quantum of" rather than array indices (#156) * Define "finite" and "zero" before "mathematical value" * Define cohort and quantum as an AO --------- Co-authored-by: Philip Chimento --- index.html | 139 +++++++++++++++++++++++++++-------------------------- spec.emu | 67 +++++++++++++++++--------- 2 files changed, 114 insertions(+), 92 deletions(-) diff --git a/index.html b/index.html index dd4cdfab..53429848 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_121","_ref_122","_ref_123","_ref_124","_ref_125"],"sec-decimal-method-round":["_ref_2","_ref_3","_ref_126","_ref_127","_ref_128","_ref_129","_ref_130","_ref_131"],"sec-decimal.prototype.tostring":["_ref_4","_ref_132","_ref_133","_ref_134"],"sec-decimal.prototype.toprecision":["_ref_5","_ref_141","_ref_142","_ref_143","_ref_144","_ref_145","_ref_146","_ref_147","_ref_148"],"sec-tointlmathematicalvalue":["_ref_6","_ref_152","_ref_153","_ref_154","_ref_155","_ref_156","_ref_157","_ref_158"],"sec-decimal-intro":["_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","_ref_48"],"sec-decimal128-isintegraldecimal128value":["_ref_49"],"sec-decimal128-value-to-object":["_ref_50"],"sec-decimal128-d":["_ref_51","_ref_52","_ref_53","_ref_54","_ref_55"],"sec-decimal128-canonicalizedecimal128":["_ref_56","_ref_57","_ref_58"],"sec-the-decimal128-constructor-value":["_ref_59","_ref_60","_ref_61","_ref_62","_ref_63"],"sec-decimal.prototype.abs":["_ref_64","_ref_65","_ref_66","_ref_67"],"sec-decimal.prototype.negate":["_ref_68","_ref_69","_ref_70","_ref_71"],"sec-decimal.prototype.add":["_ref_72","_ref_73","_ref_74","_ref_75","_ref_76","_ref_77","_ref_78","_ref_79","_ref_80","_ref_81"],"sec-decimal.prototype.subtract":["_ref_82","_ref_83","_ref_84","_ref_85","_ref_86","_ref_87","_ref_88","_ref_89","_ref_90","_ref_91"],"sec-decimal.prototype.multiply":["_ref_92","_ref_93","_ref_94","_ref_95","_ref_96","_ref_97","_ref_98","_ref_99","_ref_100","_ref_101","_ref_102","_ref_103","_ref_104","_ref_105","_ref_106"],"sec-decimal.prototype.divide":["_ref_107","_ref_108","_ref_109","_ref_110","_ref_111","_ref_112"],"sec-decimal.prototype.remainder":["_ref_113","_ref_114","_ref_115","_ref_116","_ref_117","_ref_118"],"sec-decimal.prototype.equals":["_ref_119"],"sec-decimal.prototype.lessthan":["_ref_120"],"sec-decimal.prototype.toexponential":["_ref_135","_ref_136","_ref_137"],"sec-decimal.prototype.tofixed":["_ref_138","_ref_139","_ref_140"],"sec-number-constructor-number-value":["_ref_149"],"sec-bigint-constructor-number-value":["_ref_150"],"sec-numbertobigint":["_ref_151"],"sec-formatnumberstring":["_ref_159","_ref_160","_ref_161","_ref_162","_ref_163","_ref_164","_ref_165","_ref_166"],"sec-torawprecision":["_ref_167","_ref_168","_ref_169","_ref_170","_ref_171","_ref_172","_ref_173","_ref_174","_ref_175","_ref_176","_ref_177","_ref_178","_ref_179","_ref_180","_ref_181"],"sec-torawfixed":["_ref_182","_ref_183","_ref_184","_ref_185","_ref_186","_ref_187","_ref_188","_ref_189","_ref_190","_ref_191","_ref_192","_ref_193","_ref_194"],"sec-partitionnumberpattern":["_ref_195","_ref_196","_ref_197","_ref_198","_ref_199"]},"entries":[{"type":"clause","id":"sec-decimal-intro-","titleHTML":"Introduction","number":""},{"type":"term","term":"mathematical value","id":"dfn-decimal128-mathematical-value","referencingIds":["_ref_6","_ref_9","_ref_10","_ref_17","_ref_33","_ref_51","_ref_52","_ref_59","_ref_60","_ref_62","_ref_119","_ref_120","_ref_121","_ref_122","_ref_125","_ref_156","_ref_157","_ref_158","_ref_159","_ref_160","_ref_162","_ref_168","_ref_171","_ref_172","_ref_173","_ref_178","_ref_180","_ref_183","_ref_186","_ref_187","_ref_191","_ref_193","_ref_198"]},{"type":"term","term":"finite","id":"dfn-decimal128-finite","referencingIds":["_ref_11","_ref_14","_ref_15","_ref_18","_ref_19","_ref_31","_ref_34","_ref_36","_ref_38","_ref_40","_ref_42","_ref_45","_ref_48","_ref_49","_ref_153","_ref_169","_ref_184"]},{"type":"term","term":"zero","id":"dfn-decimal128-zero","referencingIds":["_ref_7","_ref_8","_ref_12","_ref_13","_ref_16","_ref_20","_ref_24","_ref_25","_ref_32","_ref_35","_ref_37","_ref_39","_ref_41","_ref_43","_ref_44","_ref_46","_ref_47","_ref_96","_ref_101","_ref_155","_ref_177"]},{"type":"term","term":"negative","refId":"sec-decimal-intro"},{"type":"term","term":"rounding mode","id":"dfn-decimal128-rounding-mode","referencingIds":["_ref_21","_ref_22","_ref_26","_ref_53","_ref_72","_ref_82","_ref_92","_ref_107","_ref_113","_ref_126","_ref_128","_ref_131"]},{"type":"term","term":"default rounding mode","id":"dfn-decimal128-default-rounding-mode","referencingIds":["_ref_2","_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_27","_ref_28","_ref_29","_ref_30","_ref_56"]},{"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_23","_ref_57","_ref_58","_ref_123","_ref_124","_ref_127","_ref_154","_ref_167","_ref_170","_ref_175","_ref_176","_ref_182","_ref_185","_ref_189","_ref_190","_ref_196","_ref_197"]},{"type":"op","aoid":"Decimal128ToDecimalString","refId":"sec-decimal128-decimal128todecimalstring"},{"type":"clause","id":"sec-decimal128-decimal128todecimalstring","title":"Decimal128ToDecimalString ( argument )","titleHTML":"Decimal128ToDecimalString ( argument )","number":"1.1.1","referencingIds":["_ref_132","_ref_134","_ref_138","_ref_140","_ref_141","_ref_143","_ref_146","_ref_148","_ref_174","_ref_188"]},{"type":"op","aoid":"Decimal128ToExponentialString","refId":"sec-decimal128toexponentialstring"},{"type":"clause","id":"sec-decimal128toexponentialstring","title":"Decimal128ToExponentialString ( argument )","titleHTML":"Decimal128ToExponentialString ( argument )","number":"1.1.2","referencingIds":["_ref_135","_ref_137"]},{"type":"op","aoid":"IsIntegralDecimal128","refId":"sec-decimal128-isintegraldecimal128value"},{"type":"clause","id":"sec-decimal128-isintegraldecimal128value","title":"IsIntegralDecimal128 ( argument )","titleHTML":"IsIntegralDecimal128 ( argument )","number":"1.1.3","referencingIds":["_ref_151"]},{"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":"1.1.4","referencingIds":["_ref_64","_ref_65","_ref_66","_ref_67","_ref_68","_ref_69","_ref_70","_ref_71","_ref_73","_ref_74","_ref_75","_ref_76","_ref_77","_ref_78","_ref_79","_ref_80","_ref_83","_ref_84","_ref_85","_ref_86","_ref_87","_ref_88","_ref_89","_ref_90","_ref_93","_ref_94","_ref_95","_ref_97","_ref_98","_ref_99","_ref_100","_ref_102","_ref_103","_ref_104","_ref_105","_ref_108","_ref_109","_ref_110","_ref_111","_ref_114","_ref_115","_ref_116","_ref_117","_ref_129"]},{"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":"1.1.5","referencingIds":["_ref_54","_ref_55","_ref_61","_ref_63","_ref_81","_ref_91","_ref_106","_ref_112","_ref_118","_ref_130","_ref_147"]},{"type":"op","aoid":"CanonicalizeDecimal128","refId":"sec-decimal128-canonicalizedecimal128"},{"type":"clause","id":"sec-decimal128-canonicalizedecimal128","title":"CanonicalizeDecimal128 ( d )","titleHTML":"CanonicalizeDecimal128 ( d )","number":"1.1.6","referencingIds":["_ref_133","_ref_136","_ref_139","_ref_142","_ref_144","_ref_145"]},{"type":"clause","id":"sec-decimal-abstract-ops","titleHTML":"Abstract Operations","number":"1.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":"1.2.1"},{"type":"clause","id":"sec-the-decimal-constructor","titleHTML":"The Decimal128 Constructor","number":"1.2","referencingIds":["_ref_50","_ref_149"]},{"type":"clause","id":"sec-the-decimal-object","titleHTML":"The Decimal128 Object","number":"1"},{"type":"clause","id":"sec-decimal.prototype.isnan","titleHTML":"Decimal128.prototype.isNaN ( )","number":"2.1"},{"type":"clause","id":"sec-decimal.prototype.isfinite","titleHTML":"Decimal128.prototype.isFinite ( )","number":"2.2"},{"type":"clause","id":"sec-decimal.prototype.abs","titleHTML":"Decimal128.prototype.abs ( )","number":"2.3"},{"type":"clause","id":"sec-decimal.prototype.negate","titleHTML":"Decimal128.prototype.negate ( )","number":"2.4"},{"type":"clause","id":"sec-decimal.prototype.add","title":"Decimal128.prototype.add ( x )","titleHTML":"Decimal128.prototype.add ( x )","number":"2.5"},{"type":"clause","id":"sec-decimal.prototype.subtract","title":"Decimal128.prototype.subtract ( x )","titleHTML":"Decimal128.prototype.subtract ( x )","number":"2.6"},{"type":"clause","id":"sec-decimal.prototype.multiply","title":"Decimal128.prototype.multiply ( x )","titleHTML":"Decimal128.prototype.multiply ( x )","number":"2.7"},{"type":"clause","id":"sec-decimal.prototype.divide","title":"Decimal128.prototype.divide ( x )","titleHTML":"Decimal128.prototype.divide ( x )","number":"2.8"},{"type":"clause","id":"sec-decimal.prototype.remainder","title":"Decimal128.prototype.remainder ( x )","titleHTML":"Decimal128.prototype.remainder ( x )","number":"2.9"},{"type":"clause","id":"sec-decimal.prototype.equals","title":"Decimal128.prototype.equals ( x )","titleHTML":"Decimal128.prototype.equals ( x )","number":"2.10","referencingIds":["_ref_1"]},{"type":"clause","id":"sec-decimal.prototype.lessthan","title":"Decimal128.prototype.lessThan ( x )","titleHTML":"Decimal128.prototype.lessThan ( x )","number":"2.11","referencingIds":["_ref_0"]},{"type":"clause","id":"sec-decimal.prototype.compare","title":"Decimal128.prototype.compare ( x )","titleHTML":"Decimal128.prototype.compare ( x )","number":"2.12"},{"type":"clause","id":"sec-decimal-method-round","title":"Decimal128.prototype.round ( numFractionalDigits [ , roundingMode ] )","titleHTML":"Decimal128.prototype.round ( numFractionalDigits [ , roundingMode ] )","number":"2.13"},{"type":"clause","id":"sec-decimal.prototype.tostring","title":"Decimal128.prototype.toString ( [ options ] )","titleHTML":"Decimal128.prototype.toString ( [ options ] )","number":"2.14","referencingIds":["_ref_5"]},{"type":"clause","id":"sec-decimal.prototype.toexponential","title":"Decimal128.prototype.toExponential ( [ shouldCanonicalize ] )","titleHTML":"Decimal128.prototype.toExponential ( [ shouldCanonicalize ] )","number":"2.15","referencingIds":["_ref_4"]},{"type":"clause","id":"sec-decimal.prototype.tofixed","title":"Decimal128.prototype.toFixed ( numDigits [ , shouldCanonicalize ] )","titleHTML":"Decimal128.prototype.toFixed ( numDigits [ , shouldCanonicalize ] )","number":"2.16"},{"type":"clause","id":"sec-decimal.prototype.toprecision","title":"Decimal128.prototype.toPrecision ( precision [ , shouldCanonicalize ] )","titleHTML":"Decimal128.prototype.toPrecision ( precision [ , shouldCanonicalize ] )","number":"2.17"},{"type":"clause","id":"sec-decimal.prototype.valueof","title":"Decimal128.prototype.valueOf ( x )","titleHTML":"Decimal128.prototype.valueOf ( x )","number":"2.18"},{"type":"clause","id":"sec-decimal-prototype-properties","titleHTML":"Properties of the Decimal128 Prototype","number":"2"},{"type":"clause","id":"sec-number-constructor-number-value","title":"Number ( value )","titleHTML":"Number ( value )","number":"3.1.1.1"},{"type":"clause","id":"sec-number-constructor","titleHTML":"The Number Constructor","number":"3.1.1"},{"type":"clause","id":"sec-number-objects","titleHTML":"Number Objects","number":"3.1"},{"type":"op","aoid":"Decimal128ToBigInt","refId":"sec-numbertobigint"},{"type":"clause","id":"sec-numbertobigint","title":"Decimal128ToBigInt ( number )","titleHTML":"Decimal128ToBigInt ( number )","number":"3.2.1.1.1","referencingIds":["_ref_150"]},{"type":"clause","id":"sec-bigint-constructor-number-value","title":"BigInt ( value )","titleHTML":"BigInt ( value )","number":"3.2.1.1"},{"type":"clause","id":"sec-bigint-constructor","titleHTML":"The BigInt Constructor","number":"3.2.1"},{"type":"clause","id":"sec-bigint-objects","titleHTML":"BigInt Objects","number":"3.2"},{"type":"clause","id":"sec-numbers-and-dates","titleHTML":"Numbers and Dates","number":"3"},{"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_152","_ref_161","_ref_195"]},{"type":"op","aoid":"ToIntlMathematicalValue","refId":"sec-tointlmathematicalvalue"},{"type":"clause","id":"sec-tointlmathematicalvalue","title":"ToIntlMathematicalValue ( value )","titleHTML":"ToIntlMathematicalValue ( value )","number":"4.1.1"},{"type":"op","aoid":"FormatNumericToString","refId":"sec-formatnumberstring"},{"type":"clause","id":"sec-formatnumberstring","title":"FormatNumericToString ( intlObject, x )","titleHTML":"FormatNumericToString ( intlObject, x )","number":"4.1.2","referencingIds":["_ref_199"]},{"type":"op","aoid":"ToRawPrecisionFn","id":"eqn-ToRawPrecisionFn","referencingIds":["_ref_179","_ref_181"]},{"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":"4.1.3","referencingIds":["_ref_163","_ref_165"]},{"type":"op","aoid":"ToRawFixedFn","id":"eqn-ToRawFixedFn","referencingIds":["_ref_192","_ref_194"]},{"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":"4.1.4","referencingIds":["_ref_164","_ref_166"]},{"type":"op","aoid":"PartitionNumberPattern","refId":"sec-partitionnumberpattern"},{"type":"clause","id":"sec-partitionnumberpattern","title":"PartitionNumberPattern ( numberFormat, x )","titleHTML":"PartitionNumberPattern ( numberFormat, x )","number":"4.1.5"},{"type":"clause","id":"sec-numberformat-abstracts","titleHTML":"Abstract Operations for NumberFormat Objects","number":"4.1"},{"type":"clause","id":"numberformat-objects","titleHTML":"NumberFormat Objects","number":"4"},{"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_153","_ref_154","_ref_155","_ref_156","_ref_157"],"sec-decimal-method-round":["_ref_2","_ref_3","_ref_158","_ref_159","_ref_160","_ref_161","_ref_162","_ref_163","_ref_164","_ref_165"],"sec-decimal.prototype.tostring":["_ref_4","_ref_166","_ref_167","_ref_168"],"sec-decimal.prototype.toprecision":["_ref_5","_ref_175","_ref_176","_ref_177","_ref_178","_ref_179","_ref_180","_ref_181","_ref_182","_ref_183","_ref_184"],"sec-tointlmathematicalvalue":["_ref_6","_ref_188","_ref_189","_ref_190","_ref_191","_ref_192","_ref_193","_ref_194"],"sec-decimal-intro":["_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","_ref_48","_ref_49"],"sec-decimal128-decimal128todecimalstring":["_ref_50","_ref_51"],"sec-decimal128toexponentialstring":["_ref_52","_ref_53"],"sec-decimal128-isintegraldecimal128value":["_ref_54","_ref_55","_ref_56"],"sec-decimal128-value-to-object":["_ref_57"],"sec-decimal128-d":["_ref_58","_ref_59","_ref_60","_ref_61","_ref_62"],"sec-decimal128-canonicalizedecimal128":["_ref_63","_ref_64","_ref_65","_ref_66"],"sec-the-decimal128-constructor-value":["_ref_67","_ref_68","_ref_69","_ref_70","_ref_71"],"sec-decimal.prototype.abs":["_ref_72","_ref_73","_ref_74","_ref_75","_ref_76","_ref_77"],"sec-decimal.prototype.negate":["_ref_78","_ref_79","_ref_80","_ref_81","_ref_82","_ref_83"],"sec-decimal.prototype.add":["_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_96","_ref_97"],"sec-decimal.prototype.subtract":["_ref_98","_ref_99","_ref_100","_ref_101","_ref_102","_ref_103","_ref_104","_ref_105","_ref_106","_ref_107","_ref_108","_ref_109","_ref_110","_ref_111"],"sec-decimal.prototype.multiply":["_ref_112","_ref_113","_ref_114","_ref_115","_ref_116","_ref_117","_ref_118","_ref_119","_ref_120","_ref_121","_ref_122","_ref_123","_ref_124","_ref_125","_ref_126","_ref_127","_ref_128","_ref_129","_ref_130"],"sec-decimal.prototype.divide":["_ref_131","_ref_132","_ref_133","_ref_134","_ref_135","_ref_136","_ref_137","_ref_138","_ref_139","_ref_140"],"sec-decimal.prototype.remainder":["_ref_141","_ref_142","_ref_143","_ref_144","_ref_145","_ref_146","_ref_147","_ref_148","_ref_149","_ref_150"],"sec-decimal.prototype.equals":["_ref_151"],"sec-decimal.prototype.lessthan":["_ref_152"],"sec-decimal.prototype.toexponential":["_ref_169","_ref_170","_ref_171"],"sec-decimal.prototype.tofixed":["_ref_172","_ref_173","_ref_174"],"sec-number-constructor-number-value":["_ref_185"],"sec-bigint-constructor-number-value":["_ref_186"],"sec-numbertobigint":["_ref_187"],"sec-formatnumberstring":["_ref_195","_ref_196","_ref_197","_ref_198","_ref_199","_ref_200","_ref_201","_ref_202"],"sec-torawprecision":["_ref_203","_ref_204","_ref_205","_ref_206","_ref_207","_ref_208","_ref_209","_ref_210","_ref_211","_ref_212","_ref_213","_ref_214","_ref_215","_ref_216","_ref_217"],"sec-torawfixed":["_ref_218","_ref_219","_ref_220","_ref_221","_ref_222","_ref_223","_ref_224","_ref_225","_ref_226","_ref_227","_ref_228","_ref_229","_ref_230"],"sec-partitionnumberpattern":["_ref_231","_ref_232","_ref_233","_ref_234","_ref_235"]},"entries":[{"type":"clause","id":"sec-decimal-intro-","titleHTML":"Introduction","number":""},{"type":"term","term":"finite","id":"dfn-decimal128-finite","referencingIds":["_ref_11","_ref_12","_ref_15","_ref_16","_ref_19","_ref_31","_ref_32","_ref_35","_ref_37","_ref_39","_ref_41","_ref_43","_ref_46","_ref_49","_ref_54","_ref_189","_ref_205","_ref_220"]},{"type":"term","term":"zero","id":"dfn-decimal128-zero","referencingIds":["_ref_7","_ref_8","_ref_13","_ref_17","_ref_18","_ref_20","_ref_24","_ref_25","_ref_33","_ref_36","_ref_38","_ref_40","_ref_42","_ref_44","_ref_45","_ref_47","_ref_48","_ref_116","_ref_121","_ref_191","_ref_213"]},{"type":"term","term":"negative","refId":"sec-decimal-intro"},{"type":"term","term":"mathematical value","id":"dfn-decimal128-mathematical-value","referencingIds":["_ref_6","_ref_9","_ref_10","_ref_14","_ref_34","_ref_58","_ref_59","_ref_67","_ref_68","_ref_70","_ref_151","_ref_152","_ref_153","_ref_154","_ref_157","_ref_192","_ref_193","_ref_194","_ref_195","_ref_196","_ref_198","_ref_204","_ref_207","_ref_208","_ref_209","_ref_214","_ref_216","_ref_219","_ref_222","_ref_223","_ref_227","_ref_229","_ref_234"]},{"type":"term","term":"rounding mode","id":"dfn-decimal128-rounding-mode","referencingIds":["_ref_21","_ref_22","_ref_26","_ref_60","_ref_84","_ref_98","_ref_112","_ref_131","_ref_141","_ref_158","_ref_160","_ref_165"]},{"type":"term","term":"default rounding mode","id":"dfn-decimal128-default-rounding-mode","referencingIds":["_ref_2","_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":"op","aoid":"cohort","id":"eqn-decimal128-cohort","referencingIds":["_ref_27","_ref_28","_ref_29","_ref_30","_ref_50","_ref_52","_ref_55","_ref_63","_ref_64","_ref_75","_ref_81","_ref_92","_ref_93","_ref_106","_ref_107","_ref_123","_ref_126","_ref_135","_ref_136","_ref_145","_ref_146","_ref_161","_ref_180"]},{"type":"op","aoid":"quantum","id":"eqn-decimal128-quantum","referencingIds":["_ref_51","_ref_53","_ref_56","_ref_76","_ref_82","_ref_94","_ref_95","_ref_108","_ref_109","_ref_127","_ref_128","_ref_137","_ref_138","_ref_147","_ref_148","_ref_162","_ref_181"]},{"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_23","_ref_65","_ref_66","_ref_155","_ref_156","_ref_159","_ref_190","_ref_203","_ref_206","_ref_211","_ref_212","_ref_218","_ref_221","_ref_225","_ref_226","_ref_232","_ref_233"]},{"type":"op","aoid":"Decimal128ToDecimalString","refId":"sec-decimal128-decimal128todecimalstring"},{"type":"clause","id":"sec-decimal128-decimal128todecimalstring","title":"Decimal128ToDecimalString ( argument )","titleHTML":"Decimal128ToDecimalString ( argument )","number":"1.1.1","referencingIds":["_ref_166","_ref_168","_ref_172","_ref_174","_ref_175","_ref_177","_ref_182","_ref_184","_ref_210","_ref_224"]},{"type":"op","aoid":"Decimal128ToExponentialString","refId":"sec-decimal128toexponentialstring"},{"type":"clause","id":"sec-decimal128toexponentialstring","title":"Decimal128ToExponentialString ( argument )","titleHTML":"Decimal128ToExponentialString ( argument )","number":"1.1.2","referencingIds":["_ref_169","_ref_171"]},{"type":"op","aoid":"IsIntegralDecimal128","refId":"sec-decimal128-isintegraldecimal128value"},{"type":"clause","id":"sec-decimal128-isintegraldecimal128value","title":"IsIntegralDecimal128 ( argument )","titleHTML":"IsIntegralDecimal128 ( argument )","number":"1.1.3","referencingIds":["_ref_187"]},{"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":"1.1.4","referencingIds":["_ref_72","_ref_73","_ref_74","_ref_77","_ref_78","_ref_79","_ref_80","_ref_83","_ref_85","_ref_86","_ref_87","_ref_88","_ref_89","_ref_90","_ref_91","_ref_96","_ref_99","_ref_100","_ref_101","_ref_102","_ref_103","_ref_104","_ref_105","_ref_110","_ref_113","_ref_114","_ref_115","_ref_117","_ref_118","_ref_119","_ref_120","_ref_122","_ref_124","_ref_125","_ref_129","_ref_132","_ref_133","_ref_134","_ref_139","_ref_142","_ref_143","_ref_144","_ref_149","_ref_163"]},{"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":"1.1.5","referencingIds":["_ref_61","_ref_62","_ref_69","_ref_71","_ref_97","_ref_111","_ref_130","_ref_140","_ref_150","_ref_164","_ref_183"]},{"type":"op","aoid":"CanonicalizeDecimal128","refId":"sec-decimal128-canonicalizedecimal128"},{"type":"clause","id":"sec-decimal128-canonicalizedecimal128","title":"CanonicalizeDecimal128 ( d )","titleHTML":"CanonicalizeDecimal128 ( d )","number":"1.1.6","referencingIds":["_ref_167","_ref_170","_ref_173","_ref_176","_ref_178","_ref_179"]},{"type":"clause","id":"sec-decimal-abstract-ops","titleHTML":"Abstract Operations","number":"1.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":"1.2.1"},{"type":"clause","id":"sec-the-decimal-constructor","titleHTML":"The Decimal128 Constructor","number":"1.2","referencingIds":["_ref_57","_ref_185"]},{"type":"clause","id":"sec-the-decimal-object","titleHTML":"The Decimal128 Object","number":"1"},{"type":"clause","id":"sec-decimal.prototype.isnan","titleHTML":"Decimal128.prototype.isNaN ( )","number":"2.1"},{"type":"clause","id":"sec-decimal.prototype.isfinite","titleHTML":"Decimal128.prototype.isFinite ( )","number":"2.2"},{"type":"clause","id":"sec-decimal.prototype.abs","titleHTML":"Decimal128.prototype.abs ( )","number":"2.3"},{"type":"clause","id":"sec-decimal.prototype.negate","titleHTML":"Decimal128.prototype.negate ( )","number":"2.4"},{"type":"clause","id":"sec-decimal.prototype.add","title":"Decimal128.prototype.add ( x )","titleHTML":"Decimal128.prototype.add ( x )","number":"2.5"},{"type":"clause","id":"sec-decimal.prototype.subtract","title":"Decimal128.prototype.subtract ( x )","titleHTML":"Decimal128.prototype.subtract ( x )","number":"2.6"},{"type":"clause","id":"sec-decimal.prototype.multiply","title":"Decimal128.prototype.multiply ( x )","titleHTML":"Decimal128.prototype.multiply ( x )","number":"2.7"},{"type":"clause","id":"sec-decimal.prototype.divide","title":"Decimal128.prototype.divide ( x )","titleHTML":"Decimal128.prototype.divide ( x )","number":"2.8"},{"type":"clause","id":"sec-decimal.prototype.remainder","title":"Decimal128.prototype.remainder ( x )","titleHTML":"Decimal128.prototype.remainder ( x )","number":"2.9"},{"type":"clause","id":"sec-decimal.prototype.equals","title":"Decimal128.prototype.equals ( x )","titleHTML":"Decimal128.prototype.equals ( x )","number":"2.10","referencingIds":["_ref_1"]},{"type":"clause","id":"sec-decimal.prototype.lessthan","title":"Decimal128.prototype.lessThan ( x )","titleHTML":"Decimal128.prototype.lessThan ( x )","number":"2.11","referencingIds":["_ref_0"]},{"type":"clause","id":"sec-decimal.prototype.compare","title":"Decimal128.prototype.compare ( x )","titleHTML":"Decimal128.prototype.compare ( x )","number":"2.12"},{"type":"clause","id":"sec-decimal-method-round","title":"Decimal128.prototype.round ( numFractionalDigits [ , roundingMode ] )","titleHTML":"Decimal128.prototype.round ( numFractionalDigits [ , roundingMode ] )","number":"2.13"},{"type":"clause","id":"sec-decimal.prototype.tostring","title":"Decimal128.prototype.toString ( [ options ] )","titleHTML":"Decimal128.prototype.toString ( [ options ] )","number":"2.14","referencingIds":["_ref_5"]},{"type":"clause","id":"sec-decimal.prototype.toexponential","title":"Decimal128.prototype.toExponential ( [ shouldCanonicalize ] )","titleHTML":"Decimal128.prototype.toExponential ( [ shouldCanonicalize ] )","number":"2.15","referencingIds":["_ref_4"]},{"type":"clause","id":"sec-decimal.prototype.tofixed","title":"Decimal128.prototype.toFixed ( numDigits [ , shouldCanonicalize ] )","titleHTML":"Decimal128.prototype.toFixed ( numDigits [ , shouldCanonicalize ] )","number":"2.16"},{"type":"clause","id":"sec-decimal.prototype.toprecision","title":"Decimal128.prototype.toPrecision ( precision [ , shouldCanonicalize ] )","titleHTML":"Decimal128.prototype.toPrecision ( precision [ , shouldCanonicalize ] )","number":"2.17"},{"type":"clause","id":"sec-decimal.prototype.valueof","title":"Decimal128.prototype.valueOf ( x )","titleHTML":"Decimal128.prototype.valueOf ( x )","number":"2.18"},{"type":"clause","id":"sec-decimal-prototype-properties","titleHTML":"Properties of the Decimal128 Prototype","number":"2"},{"type":"clause","id":"sec-number-constructor-number-value","title":"Number ( value )","titleHTML":"Number ( value )","number":"3.1.1.1"},{"type":"clause","id":"sec-number-constructor","titleHTML":"The Number Constructor","number":"3.1.1"},{"type":"clause","id":"sec-number-objects","titleHTML":"Number Objects","number":"3.1"},{"type":"op","aoid":"Decimal128ToBigInt","refId":"sec-numbertobigint"},{"type":"clause","id":"sec-numbertobigint","title":"Decimal128ToBigInt ( number )","titleHTML":"Decimal128ToBigInt ( number )","number":"3.2.1.1.1","referencingIds":["_ref_186"]},{"type":"clause","id":"sec-bigint-constructor-number-value","title":"BigInt ( value )","titleHTML":"BigInt ( value )","number":"3.2.1.1"},{"type":"clause","id":"sec-bigint-constructor","titleHTML":"The BigInt Constructor","number":"3.2.1"},{"type":"clause","id":"sec-bigint-objects","titleHTML":"BigInt Objects","number":"3.2"},{"type":"clause","id":"sec-numbers-and-dates","titleHTML":"Numbers and Dates","number":"3"},{"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_188","_ref_197","_ref_231"]},{"type":"op","aoid":"ToIntlMathematicalValue","refId":"sec-tointlmathematicalvalue"},{"type":"clause","id":"sec-tointlmathematicalvalue","title":"ToIntlMathematicalValue ( value )","titleHTML":"ToIntlMathematicalValue ( value )","number":"4.1.1"},{"type":"op","aoid":"FormatNumericToString","refId":"sec-formatnumberstring"},{"type":"clause","id":"sec-formatnumberstring","title":"FormatNumericToString ( intlObject, x )","titleHTML":"FormatNumericToString ( intlObject, x )","number":"4.1.2","referencingIds":["_ref_235"]},{"type":"op","aoid":"ToRawPrecisionFn","id":"eqn-ToRawPrecisionFn","referencingIds":["_ref_215","_ref_217"]},{"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":"4.1.3","referencingIds":["_ref_199","_ref_201"]},{"type":"op","aoid":"ToRawFixedFn","id":"eqn-ToRawFixedFn","referencingIds":["_ref_228","_ref_230"]},{"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":"4.1.4","referencingIds":["_ref_200","_ref_202"]},{"type":"op","aoid":"PartitionNumberPattern","refId":"sec-partitionnumberpattern"},{"type":"clause","id":"sec-partitionnumberpattern","title":"PartitionNumberPattern ( numberFormat, x )","titleHTML":"PartitionNumberPattern ( numberFormat, x )","number":"4.1.5"},{"type":"clause","id":"sec-numberformat-abstracts","titleHTML":"Abstract Operations for NumberFormat Objects","number":"4.1"},{"type":"clause","id":"numberformat-objects","titleHTML":"NumberFormat Objects","number":"4"},{"type":"clause","id":"sec-copyright-and-software-license","title":"Copyright & Software License","titleHTML":"Copyright & Software License","number":"A"}]}`); ;let usesMultipage = false