Skip to content

Commit

Permalink
Combine multiple scale10 cases
Browse files Browse the repository at this point in the history
  • Loading branch information
jessealama committed Oct 8, 2024
1 parent 54ece86 commit 8441fd6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -893,11 +893,7 @@ location: https://github.com/tc39/proposal-decimal/
1. If ℝ(_n_) is not an integer, throw a *RangeError* exception.
1. Let _d_ be _O_.[[Decimal128Data]].
1. If _d_ is *NaN*<sub>𝔻</sub>, *+∞*<sub>𝔻</sub>, or *-∞*<sub>𝔻</sub>, return Decimal128ValueToObject(_d_).
1. If _d_ is either *+0*<sub>𝔻</sub> nor *−0*<sub>𝔻</sub>, then
1. If _n_ is *NaN*<sub>𝔽</sub>, return Decimal128ValueToObject(_d_).
1. If _n_ is *+∞*<sub>𝔽</sub>, return Decimal128ValueToObject(_d_).
1. If _n_ is *-∞*<sub>𝔽</sub>, return Decimal128ValueToObject(_d_).
1. Otherwise, return Decimal128ValueToObject(_d_).
1. If _d_ is either *+0*<sub>𝔻</sub> or *−0*<sub>𝔻</sub>, return Decimal128ValueToObject(_d_).
1. If _n_ is *NaN*<sub>𝔽</sub>, return Decimal128ValueToObject(*NaN*<sub>𝔻</sub>).
1. If _n_ is *+∞*<sub>𝔽</sub>, then
1. If _d_ > 0, return Decimal128ValueToObject(*+∞*<sub>𝔻</sub>).
Expand Down

0 comments on commit 8441fd6

Please sign in to comment.