Skip to content

Commit

Permalink
fixup: [spec] npm run build
Browse files Browse the repository at this point in the history
  • Loading branch information
jessealama committed Sep 19, 2024
1 parent 3aa6618 commit 2a9cb34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3624,7 +3624,7 @@ <h1><span class="secnum">2.17</span> Decimal128.prototype.greaterThan ( <var>x</
<h1><span class="secnum">2.18</span> Decimal128.prototype.greaterThanOrEqual ( <var>x</var> )</h1>
<p>This method returns either <emu-val>true</emu-val>, <emu-val>false</emu-val><emu-val> according as the current Decimal128 object has a greater or equal mathematical value as the given Decimal128 object. The value *false</emu-val> is returned if the current Decimal128 object or the argument is a NaN.</p>
<p>It performs the following steps when called:</p>
<emu-alg><ol><li>Let <var>O</var> be the <emu-val>this</emu-val> value.</li><li>Perform ?&nbsp;<emu-xref aoid="RequireInternalSlot"><a href="https://tc39.es/ecma262/#sec-requireinternalslot">RequireInternalSlot</a></emu-xref>(<var>O</var>, <var class="field">[[Decimal128Data]]</var>).</li><li>Perform ?&nbsp;<emu-xref aoid="RequireInternalSlot"><a href="https://tc39.es/ecma262/#sec-requireinternalslot">RequireInternalSlot</a></emu-xref>(<var>x</var>, <var class="field">[[Decimal128Data]]</var>).</li><li>Let <var>d1</var> be <var>O</var>.<var class="field">[[Decimal128Data]]</var>.</li><li>Let <var>d2</var> be <var>x</var>.<var class="field">[[Decimal128Data]]</var>.</li><li>If <var>d1</var> is <emu-val>NaN</emu-val><sub>𝔻</sub>, return <emu-val>false</emu-val>.</li><li>If <var>d2</var> is <emu-val>NaN</emu-val><sub>𝔻</sub>, return <emu-val>false</emu-val>.</li><li>If <var>d1</var> is <emu-val>+∞</emu-val><sub>𝔻</sub>, return <emu-val>true</emu-val>.</li><li>If <var>d1</var> is <emu-val>-∞</emu-val><sub>𝔻</sub>, return <emu-val>false</emu-val>.</li><li>If <var>d2</var> is <emu-val>+∞</emu-val><sub>𝔻</sub>, return <emu-val>false</emu-val>.</li><li>If <var>d2</var> is <emu-val>-∞</emu-val><sub>𝔻</sub>, return <emu-val>true</emu-val>.</li><li>If <emu-xref aoid="MV" id="_ref_194"><a href="#dfn-decimal128-mv">MV</a></emu-xref>(<var>d1</var>) β‰₯ <emu-xref aoid="MV" id="_ref_195"><a href="#dfn-decimal128-mv">MV</a></emu-xref>(<var>d2</var>), retuturn <emu-val>true</emu-val>.</li><li>Otherwise, return <emu-val>false</emu-val>.</li></ol></emu-alg>
<emu-alg><ol><li>Let <var>O</var> be the <emu-val>this</emu-val> value.</li><li>Perform ?&nbsp;<emu-xref aoid="RequireInternalSlot"><a href="https://tc39.es/ecma262/#sec-requireinternalslot">RequireInternalSlot</a></emu-xref>(<var>O</var>, <var class="field">[[Decimal128Data]]</var>).</li><li>Perform ?&nbsp;<emu-xref aoid="RequireInternalSlot"><a href="https://tc39.es/ecma262/#sec-requireinternalslot">RequireInternalSlot</a></emu-xref>(<var>x</var>, <var class="field">[[Decimal128Data]]</var>).</li><li>Let <var>d1</var> be <var>O</var>.<var class="field">[[Decimal128Data]]</var>.</li><li>Let <var>d2</var> be <var>x</var>.<var class="field">[[Decimal128Data]]</var>.</li><li>If <var>d1</var> is <emu-val>NaN</emu-val><sub>𝔻</sub>, return <emu-val>false</emu-val>.</li><li>If <var>d2</var> is <emu-val>NaN</emu-val><sub>𝔻</sub>, return <emu-val>false</emu-val>.</li><li>If <var>d1</var> is <emu-val>+∞</emu-val><sub>𝔻</sub>, return <emu-val>true</emu-val>.</li><li>If <var>d1</var> is <emu-val>-∞</emu-val><sub>𝔻</sub>, return <emu-val>false</emu-val>.</li><li>If <var>d2</var> is <emu-val>+∞</emu-val><sub>𝔻</sub>, return <emu-val>false</emu-val>.</li><li>If <var>d2</var> is <emu-val>-∞</emu-val><sub>𝔻</sub>, return <emu-val>true</emu-val>.</li><li>If <emu-xref aoid="MV" id="_ref_194"><a href="#dfn-decimal128-mv">MV</a></emu-xref>(<var>d1</var>) β‰₯ <emu-xref aoid="MV" id="_ref_195"><a href="#dfn-decimal128-mv">MV</a></emu-xref>(<var>d2</var>), return <emu-val>true</emu-val>.</li><li>Otherwise, return <emu-val>false</emu-val>.</li></ol></emu-alg>
<emu-note><span class="note">Note</span><div class="note-contents">
<p>This operation corresponds to the <code>compareQuietGreaterEqual</code> operation in Section 5.6.1 (and explained in Section 5.11) of <emu-xref href="#sec-bibliography"><a href="https://tc39.es/ecma262/#sec-bibliography">IEEE 754-2019</a></emu-xref>.</p>
</div></emu-note>
Expand Down

0 comments on commit 2a9cb34

Please sign in to comment.