1- <!doctype html>
1+ <!DOCTYPE html>
22<meta charset="utf8">
33<link rel="stylesheet" href="./spec.css">
44<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/github.min.css">
@@ -98,7 +98,7 @@ contributors: Eemeli Aro
9898 1. If _x_ is not ~negative-zero~, then
9999 1. Assert: _x_ is a mathematical value.
100100 1. <ins>Let _magnitude_ be the base 10 logarithm of abs(_x_) rounded down to the nearest integer.</ins>
101- 1. If _numberFormat_.[[Style]] is *"percent"*, <del>set _x_ be 100 × _x_.</del><ins>then</ins>
101+ 1. If _numberFormat_.[[Style]] is *"percent"*<del>, set _x_ be 100 × _x_.</del><ins>, then</ins>
102102 1. <ins>Set _x_ to 100 × _x_.</ins>
103103 1. <ins>If _magnitude_ < 0, set _stringDigitCount_ to _stringDigitCount_ + max(_magnitude_, -2).</ins>
104104 1. <ins>Set _magnitude_ to _magnitude_ + 2.</ins>
@@ -167,7 +167,7 @@ contributors: Eemeli Aro
167167 <h1>
168168 PartitionNotationSubPattern (
169169 _numberFormat_: an Intl.NumberFormat,
170- _x_: <del>an Intl</del><ins>a</ins> mathematical value<del>,</del>< ins> or ~negative-zero~. </ins>
170+ _x_: <del>an Intl</del><ins>a</ins> mathematical value<ins> or ~negative-zero~</ins>,
171171 _n_: a String,
172172 _exponent_: an integer,
173173 ): a List of Records with fields [[Type]] (a String) and [[Value]] (a String)
@@ -410,6 +410,7 @@ contributors: Eemeli Aro
410410 </p>
411411 </ins>
412412 </emu-note>
413+ <emu-grammar type="definition"><ins>ZeroDigits ::: `0` ZeroDigits?</ins></emu-grammar>
413414 <emu-grammar>StringNumericLiteral ::: StrWhiteSpace?</emu-grammar>
414415 <emu-alg>
415416 1. Return <del>0</del><ins>« 0, 0 »</ins>.
@@ -437,8 +438,7 @@ contributors: Eemeli Aro
437438 <emu-alg>
438439 1. Return <del>~positive-infinity~</del><ins>« ~positive-infinity~, 0 »</ins>.
439440 </emu-alg>
440- <emu-grammar><ins>ZeroDigits ::: `0` ZeroDigits?</ins></emu-grammar>
441- <emu-grammar>StrUnsignedDecimalLiteral ::: <del>DecimalDigits</del><ins>ZeroDigits? NonZeroDigit DecimalDigits?</ins> `.` DecimalDigits? ExponentPart?</emu-grammar>
441+ <emu-grammar>StrUnsignedDecimalLiteral ::: <del>DecimalDigits</del> <ins>ZeroDigits? NonZeroDigit DecimalDigits?</ins> `.` DecimalDigits? ExponentPart?</emu-grammar>
442442 <emu-alg>
443443 1. <del>Let _a_ be MV of the first |DecimalDigits|.</del>
444444 1. <ins>If the first |DecimalDigits| is present, then</ins>
@@ -464,7 +464,7 @@ contributors: Eemeli Aro
464464 1. Let _n_ be the number of code points in |DecimalDigits|.
465465 1. Return <ins>«</ins> _b_ × 10<sup>_e_ - _n_</sup><ins>, 1 + _n_ ».</ins>
466466 </emu-alg>
467- <emu-grammar>StrUnsignedDecimalLiteral ::: <del>DecimalDigits</del><ins>ZeroDigits? NonZeroDigit DecimalDigits?</ins> ExponentPart?</emu-grammar>
467+ <emu-grammar>StrUnsignedDecimalLiteral ::: <del>DecimalDigits</del> <ins>ZeroDigits? NonZeroDigit DecimalDigits?</ins> ExponentPart?</emu-grammar>
468468 <emu-alg>
469469 1. <del>Let _a_ be MV of |DecimalDigits|.</del>
470470 1. <ins>If the |DecimalDigits| is present, then</ins>
0 commit comments