Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normative: Remove order check #100

Merged
merged 4 commits into from
Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions numberformat/diff.emu
Original file line number Diff line number Diff line change
Expand Up @@ -1174,17 +1174,6 @@
</p>
<emu-alg>
1. If _x_ is ~not-a-number~ or _y_ is ~not-a-number~, throw a *RangeError* exception.
1. If _x_ is a mathematical value, then
1. If _y_ is a mathematical value and _y_ &lt; _x_, throw a *RangeError* exception.
1. Else if _y_ is ~negative-infinity~, throw a *RangeError* exception.
1. Else if _y_ is ~negative-zero~ and _x_ &ge; 0, throw a *RangeError* exception.
1. Else if _x_ is ~positive-infinity~, then
1. If _y_ is a mathematical value, throw a *RangeError* exception.
1. Else if _y_ is ~negative-infinity~, throw a *RangeError* exception.
1. Else if _y_ is ~negative-zero~, throw a *RangeError* exception.
1. Else if _x_ is ~negative-zero~, then
1. If _y_ is a mathematical value and _y_ &lt; 0, throw a *RangeError* exception.
1. Else if _y_ is ~negative-infinity~, throw a *RangeError* exception.
1. Let _result_ be a new empty List.
1. Let _xResult_ be ? PartitionNumberPattern(_numberFormat_, _x_).
1. Let _yResult_ be ? PartitionNumberPattern(_numberFormat_, _y_).
Expand Down
11 changes: 0 additions & 11 deletions numberformat/proposed.emu
Original file line number Diff line number Diff line change
Expand Up @@ -1139,17 +1139,6 @@
</p>
<emu-alg>
1. If _x_ is *NaN* or _y_ is *NaN*, throw a *RangeError* exception.
1. If _x_ is a mathematical value, then
1. If _y_ is a mathematical value and _y_ &lt; _x_, throw a *RangeError* exception.
1. Else if _y_ is *-&infin;*, throw a *RangeError* exception.
1. Else if _y_ is *-0*<sub>𝔽</sub> and _x_ &ge; 0, throw a *RangeError* exception.
1. Else if _x_ is *+&infin;*, then
1. If _y_ is a mathematical value, throw a *RangeError* exception.
1. Else if _y_ is *-&infin;*, throw a *RangeError* exception.
1. Else if _y_ is *-0*<sub>𝔽</sub>, throw a *RangeError* exception.
1. Else if _x_ is *-0*<sub>𝔽</sub>, then
1. If _y_ is a mathematical value and _y_ &lt; 0, throw a *RangeError* exception.
1. Else if _y_ is *-&infin;*, throw a *RangeError* exception.
1. Let _result_ be a new empty List.
1. Let _xResult_ be ? PartitionNumberPattern(_numberFormat_, _x_).
1. Let _yResult_ be ? PartitionNumberPattern(_numberFormat_, _y_).
Expand Down
1 change: 0 additions & 1 deletion pluralrules/diff.emu
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@
1. Assert: Type(_x_) is Number.
1. Assert: Type(_y_) is Number.
1. If _x_ is *NaN* or _y_ is *NaN*, throw a *RangeError* exception.
1. If _x_ &gt; _y_, throw a *RangeError* exception.
1. Let _xp_ be ! ResolvePlural(_pluralRules_, _x_).
1. Let _yp_ be ! ResolvePlural(_pluralRules_, _y_).
1. Let _locale_ be _pluralRules_.[[Locale]].
Expand Down
1 change: 0 additions & 1 deletion pluralrules/proposed.emu
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@
1. Assert: Type(_x_) is Number.
1. Assert: Type(_y_) is Number.
1. If _x_ is *NaN* or _y_ is *NaN*, throw a *RangeError* exception.
1. If _x_ &gt; _y_, throw a *RangeError* exception.
1. Let _xp_ be ! ResolvePlural(_pluralRules_, _x_).
1. Let _yp_ be ! ResolvePlural(_pluralRules_, _y_).
1. Let _locale_ be _pluralRules_.[[Locale]].
Expand Down