Skip to content

Commit cb6c417

Browse files
committed
whitespace
1 parent 8a32025 commit cb6c417

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

ā€Žspec.emuā€Ž

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -413,35 +413,35 @@ location: https://github.com/tc39/proposal-decimal/
413413
<p>Decimal128.Amount values are intended to contain a Decimal128 value together with a precision, as well as information about how the precision that number should be understood. The two ways precision can be understood are in terms of fractional digits and significant digits.</p>
414414
</emu-intro>
415415

416-
<emu-clause id="sec-the-decimal128-amount-constructor">
417-
<h1>The Decimal128.Amount Constructor</h1>
418-
<p>The Decimal128.Amount constructor:</p>
419-
<ul>
420-
<li>is <dfn>%Decimal128Amount%</dfn>.</li>
421-
<li>is the initial value of the the *"Decimal128Amount"* property of the global object.</li>
422-
<li>creates and initializes a new Decimal128.Amount object when called as a constructor</li>
423-
<li>may be used as the value of an *extends* clause of a class definition. Subclass constructors that intend to inherit the specified Decimal128.Amount behaviour must include a *super* call to the Decimal128.Amount constructor to create and initialize the subclass instance with the [[Decimal128AmountData]] and [[Decimal128AmountPrecision]] internal slots.</li>
424-
</ul>
425-
<emu-clause id="sec-the-decimal128-amount-constructor-value">
426-
<h1>Decimal128.Amount ( _s_, _precision_ )</h1>
427-
<emu-alg>
428-
1. If NewTarget is *undefined*, throw a *TypeError* exception.
429-
1. If _s_ is not a String, throw a *TypeError* exception.
430-
1. If _precision_ is not a Number, throw a *TypeError* exception.
431-
1. If _precision_ is *NaN*<sub>š”½</sub>, *+āˆž*<sub>š”½</sub> or *+āˆž*<sub>š”½</sub>, throw a *RangeError* exception.
432-
1. If ā„(_precision_) < 0, throw a *RangeError* exception.
433-
1. If ā„(_precision_) is not an integer, throw a *RangeError* exception.
434-
1. If ā„(_precision_) > 34, throw a *RangeError* exception.
435-
1. Let _decimal_ be ? Construct(%Decimal128%, _s_).
436-
1. Let _O_ be ? OrdinaryCreateFromConstructor(NewTarget, *"%Decimal128Amount.prototype%"*, Ā« [[Decimal128AmountData]], [[Decimal128AmountPrecision]] Ā»).
437-
1. Set _O_.[[Decimal128AmountData]] to _decimal_.[[Decimal128Data]].
438-
1. Set _O_.[[Decimal128AmountPrecision]] to _precision_.
439-
1. Return _O_.
440-
</emu-alg>
416+
<emu-clause id="sec-the-decimal128-amount-constructor">
417+
<h1>The Decimal128.Amount Constructor</h1>
418+
<p>The Decimal128.Amount constructor:</p>
419+
<ul>
420+
<li>is <dfn>%Decimal128Amount%</dfn>.</li>
421+
<li>is the initial value of the the *"Decimal128Amount"* property of the global object.</li>
422+
<li>creates and initializes a new Decimal128.Amount object when called as a constructor</li>
423+
<li>may be used as the value of an *extends* clause of a class definition. Subclass constructors that intend to inherit the specified Decimal128.Amount behaviour must include a *super* call to the Decimal128.Amount constructor to create and initialize the subclass instance with the [[Decimal128AmountData]] and [[Decimal128AmountPrecision]] internal slots.</li>
424+
</ul>
425+
<emu-clause id="sec-the-decimal128-amount-constructor-value">
426+
<h1>Decimal128.Amount ( _s_, _precision_ )</h1>
427+
<emu-alg>
428+
1. If NewTarget is *undefined*, throw a *TypeError* exception.
429+
1. If _s_ is not a String, throw a *TypeError* exception.
430+
1. If _precision_ is not a Number, throw a *TypeError* exception.
431+
1. If _precision_ is *NaN*<sub>š”½</sub>, *+āˆž*<sub>š”½</sub> or *+āˆž*<sub>š”½</sub>, throw a *RangeError* exception.
432+
1. If ā„(_precision_) < 0, throw a *RangeError* exception.
433+
1. If ā„(_precision_) is not an integer, throw a *RangeError* exception.
434+
1. If ā„(_precision_) > 34, throw a *RangeError* exception.
435+
1. Let _decimal_ be ? Construct(%Decimal128%, _s_).
436+
1. Let _O_ be ? OrdinaryCreateFromConstructor(NewTarget, *"%Decimal128Amount.prototype%"*, Ā« [[Decimal128AmountData]], [[Decimal128AmountPrecision]] Ā»).
437+
1. Set _O_.[[Decimal128AmountData]] to _decimal_.[[Decimal128Data]].
438+
1. Set _O_.[[Decimal128AmountPrecision]] to _precision_.
439+
1. Return _O_.
440+
</emu-alg>
441+
</emu-clause>
441442
</emu-clause>
442443
</emu-clause>
443444
</emu-clause>
444-
</emu-clause>
445445

446446
<emu-clause id="sec-decimal128-prototype-properties">
447447
<h1>Properties of the Decimal128 Prototype</h1>

0 commit comments

Comments
Ā (0)
⚔