-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: ToInteger normalizes -0
to +0
#1827
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ljharb
added
normative change
Affects behavior required to correctly evaluate some ECMAScript source text
needs consensus
This needs committee consensus before it can be eligible to be merged.
needs test262 tests
The proposal should specify how to test an implementation. Ideally via github.com/tc39/test262
labels
Jan 3, 2020
ljharb
force-pushed
the
to-integer-neg-zero
branch
from
January 3, 2020 21:00
297247b
to
7b67249
Compare
ljharb
force-pushed
the
to-integer-neg-zero
branch
from
January 6, 2020 19:03
7b67249
to
b4b2cfe
Compare
syg
reviewed
Jan 8, 2020
ljharb
force-pushed
the
to-integer-neg-zero
branch
from
January 8, 2020 21:43
b4b2cfe
to
b65c65b
Compare
ExE-Boss
approved these changes
Jan 10, 2020
|
anba
suggested changes
Feb 1, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above comment
ljharb
force-pushed
the
to-integer-neg-zero
branch
from
February 1, 2020 17:39
b65c65b
to
ca92d09
Compare
michaelficarra
approved these changes
Feb 4, 2020
syg
approved these changes
Feb 4, 2020
bakkot
approved these changes
Feb 4, 2020
ljharb
added
has consensus
This has committee consensus.
and removed
needs consensus
This needs committee consensus before it can be eligible to be merged.
labels
Feb 5, 2020
ljharb
added a commit
to ljharb/test262
that referenced
this pull request
Feb 9, 2020
Tests: tc39/test262#2496 |
ljharb
force-pushed
the
to-integer-neg-zero
branch
from
February 9, 2020 02:54
ca92d09
to
ddac91d
Compare
rwaldron
pushed a commit
to tc39/test262
that referenced
this pull request
Feb 13, 2020
ljharb
added
has test262 tests
and removed
needs test262 tests
The proposal should specify how to test an implementation. Ideally via github.com/tc39/test262
labels
Feb 13, 2020
This can still return |
Good call; I’ll put up a bug fix. |
ljharb
added a commit
to ljharb/ecma262
that referenced
this pull request
Feb 15, 2020
…) to produce `-0`
ljharb
added a commit
to ljharb/ecma262
that referenced
this pull request
Feb 15, 2020
…) to produce `-0` (tc39#1871)
ljharb
added a commit
to ljharb/ecma262
that referenced
this pull request
Feb 15, 2020
…) to produce `-0` (tc39#1871)
ljharb
added a commit
to ljharb/ecma262
that referenced
this pull request
Feb 15, 2020
…) to produce `-0` (tc39#1871)
sthagen
added a commit
to sthagen/tc39-ecma262
that referenced
this pull request
Feb 15, 2020
Normative: `ToInteger`: fix spec bug from tc39#1827 that allows (-1,0) to…
jmdyck
added a commit
to jmdyck/ecma262
that referenced
this pull request
Apr 23, 2020
PR tc39#1827 (among other things) removed step 4 from the algorithm for TimeClip, obsoleting the accompanying emu-note that describes "the point of step 4". Conceivably, the note could be reworded to describe the effect of 'ToInteger' on step 3, but I don't think it'd be worth the bother.
jmdyck
added a commit
to jmdyck/ecma262
that referenced
this pull request
Apr 24, 2020
PR tc39#1827 (among other things) removed step 4 from the algorithm for TimeClip, obsoleting the accompanying emu-note that describes "the point of step 4". Conceivably, the note could be reworded to describe the effect of 'ToInteger' on step 3, but I don't think it'd be worth the bother.
jmdyck
added a commit
to jmdyck/ecma262
that referenced
this pull request
Apr 30, 2020
PR tc39#1827 (among other things) removed step 4 from the algorithm for TimeClip, obsoleting the accompanying emu-note that describes "the point of step 4". Conceivably, the note could be reworded to describe the effect of 'ToInteger' on step 3, but I don't think it'd be worth the bother.
ljharb
pushed a commit
to jmdyck/ecma262
that referenced
this pull request
May 6, 2020
Editorial: Reinstate an SDO rule PR tc39#1933 deleted SDO rules that are handled by the chain production rule, but it also deleted this one which isn't. (It has "TV" on the left and "TRV" on the right.) Editorial: Move an <emu-note> element PR tc39#1490 (among other things) moved the evaluation semantics for ArrowFunction from the Evaluation SDO to the NamedEvaluation SDO. The accompanying <emu-note> should have moved at the same time (in particular because of the reference to "step 3"). Editorial: Delete <emu-note> in TimeClip clause PR tc39#1827 (among other things) removed step 4 from the algorithm for TimeClip, obsoleting the accompanying emu-note that describes "the point of step 4". Conceivably, the note could be reworded to describe the effect of 'ToInteger' on step 3, but I don't think it'd be worth the bother. Editorial: Change "Step 2.a" to "Step 2.b" in RepeatMatcher note PR tc39#1889 (among other things) inserted a step before the former 2.a, but didn't update the note that referenced it. Editorial: Change step 7 to step 6 in SortCompare note Commit 9c1e076 (2015-10-26) introduced the '?' abbreviation for ReturnIfAbrupt. This caused the ToString call on step 7 to move to step 6, but the note that referred to it wasn't updated. Editorial: Fix typo: "Descritor" -> "Descriptor" Editorial: Fix typo: "GeneratorObject" -> "generator object" (There's no such thing as a GeneratorObject.) Editorial: Delete "as a parameter" after "is present" (It's the only place in the spec where we use that phrasing.) Editorial: Change "which" to "that" ... in "{String,Array,Map,Set} methods which return such iterators" Editorial: Insert a comma in SetDefaultGlobalBindings() Formerly, it read like "containing" modified "the property", when it actually modified "the property descriptor". Editorial: Change "lexical environment" to "Environment Record" ... in FunctionDeclarationInstantiation, to balance the NOTE in the other arm of the if-else, and also for consistency with the NOTE at 27.a. (I should have done this in PR tc39#1697.) Editorial: Change "step 3" to "step 4" in Note ... that accompanies the NamedEvaluation semantics for ArrowFunction : ArrowParameters `=>` ConciseBody PR tc39#1870 (among other things) inserted a step before the former step 3, but didn't update the note that referenced it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
has consensus
This has committee consensus.
has test262 tests
normative change
Affects behavior required to correctly evaluate some ECMAScript source text
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #1637.
This only has an observable impact on
Atomics.store
.