Skip to content

Commit

Permalink
Make clear that ApplyRoundingModeToPositive gives an integer
Browse files Browse the repository at this point in the history
  • Loading branch information
jessealama committed Jul 28, 2024
1 parent f5bea07 commit 7283874
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ location: https://github.com/tc39/proposal-decimal/
<h1>ApplyRoundingModeToPositive(
_m_: a positive mathematical value,
_roundingMode_: a Decimal128 rounding mode
): *+∞*<sub>𝔻</sub>, *+0*<sub>𝔻</sub>, or a mathematical value
): an integer
</h1>
<dl class="header">
<dt>description</dt>
<dd>It computes the closest approximation to a given mathematical value,which must be positive, rounded according to the given rounding mode, that is available within the limits of Decimal128.</dd>
<dd>It computes the closest integer approximation to a given positive mathematical value, rounded according to the given rounding mode.</dd>
</dl>
<emu-alg>
1. Let _mLow_ be floor(_m_).
Expand Down

0 comments on commit 7283874

Please sign in to comment.