You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec.emu
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ contributors: Eemeli Aro
77
77
</h1>
78
78
<dl class="header">
79
79
<dt>description</dt>
80
-
<dd>It creates the parts representing the mathematical value of <del>_x_</del><ins>_intlMV_</ins> according to the effective locale and the formatting options of _numberFormat_.</dd>
80
+
<dd>It creates the parts representing the mathematical value of _x_ according to the effective locale and the formatting options of _numberFormat_.</dd>
81
81
</dl>
82
82
83
83
<emu-alg>
@@ -401,7 +401,7 @@ contributors: Eemeli Aro
401
401
<ins class="block">
402
402
<p>
403
403
The conversion of a |StringNumericLiteral| to a mathematical value and a precision is similar overall to the determination of the NumericValue of a |NumericLiteral| (see <emu-xref href="#sec-literals-numeric-literals"></emu-xref>), but some of the details are different.
404
-
The result of StringIntlMV is a List value with two elements, a mathematical value and the number of decimal digits in the source text.
404
+
The result of StringIntlMV is a List value with two elements, a mathematical value and the count of decimal digits in the source text.
405
405
</p>
406
406
</ins>
407
407
</emu-note>
@@ -473,7 +473,7 @@ contributors: Eemeli Aro
473
473
It returns _value_ converted to an <dfn id="intl-mathematical-value">Intl mathematical value</dfn>, <del>which</del><ins>a Record with two fields:</ins>
474
474
<ins>[[Value]]</ins> is a mathematical value <del>together with</del><ins>or one of</ins> ~positive-infinity~, ~negative-infinity~, ~not-a-number~, <ins>or ~negative-zero~,</ins> and
475
475
<del>~negative-zero~</del><ins>[[StringDigits]] is an integer indicating the number of significant digits in _value_ when it is a String, or 0 otherwise</ins>.
476
-
This abstract operation is similar to <emu-xref href="#sec-tonumeric"></emu-xref>, but a mathematical value can be returned instead of a Number or BigInt<del>, so that</del><ins> and the full precision of the parsed string is retained, allowing</ins> exact decimal values <del>can</del><ins>to</ins> be represented.
476
+
This abstract operation is similar to <emu-xref href="#sec-tonumeric"></emu-xref>, but <del>a mathematical value can be returned instead of a Number or BigInt, so that exact decimal values can be represented</del><ins>retains the full precision of numeric strings</ins>.
477
477
</dd>
478
478
</dl>
479
479
<emu-alg>
@@ -488,10 +488,10 @@ contributors: Eemeli Aro
488
488
1. Let _text_ be StringToCodePoints(_str_).
489
489
1. Let _literal_ be ParseText(_text_, |StringNumericLiteral|).
490
490
1. If _literal_ is a List of errors, return <del>~not-a-number~</del><ins>the Record { [[Value]]: ~not-a-number~, [[StringDigits]]: 0 }</ins>.
491
-
1. Let <del>_intlMV_</del><ins>_parseRes_</ins> be the StringIntlMV of _literal_.
492
-
1. <ins>Let _intlMV_ be the first element of _parseRes_.</ins>
491
+
1. Let <del>_intlMV_</del><ins>_stringData_</ins> be the StringIntlMV of _literal_.
492
+
1. <ins>Let _intlMV_ be _stringData_[0].</ins>
493
493
1. <ins>If _primValue_ is a String, then</ins>
494
-
1. <ins>Let _stringDigits_ be the second element of _parseRes_.</ins>
494
+
1. <ins>Let _stringDigits_ be _stringData_[1].</ins>
0 commit comments