Skip to content

Commit

Permalink
Ensure we work with real numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
jessealama committed Oct 8, 2024
1 parent 4e4c61f commit 4b8f9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ location: https://github.com/tc39/proposal-decimal/
1. Else if _roundingMode_ is *"ceil"*, set _roundingMode_ to *"floor"*.
1. Let _roundedScaledV_ be ApplyRoundingModeToPositive(_scaledV_, _roundingMode_).
1. If _sign_ = -1, set _roundedScaledV_ to −_roundedScaledV_.
1. Let _rescaledRoundedV_ be _roundedScaledV_ × 10<sup>−_numFractionalDigits_</sup>.
1. Let _rescaledRoundedV_ be _roundedScaledV_ × 10<sup>ℝ(−_numFractionalDigits_)</sup>.
1. Return Decimal128ValueToObject(RoundToDecimal128Domain(_rescaledRoundedV_, _roundingMode_)).
</emu-alg>
<emu-note>
Expand Down

0 comments on commit 4b8f9e0

Please sign in to comment.