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

Triple-shift operator #120

Closed
lrhn opened this issue Nov 30, 2018 · 3 comments
Closed

Triple-shift operator #120

lrhn opened this issue Nov 30, 2018 · 3 comments
Assignees
Labels
feature Proposed language feature that solves one or more problems small-feature A small feature which is relatively cheap to implement.

Comments

@lrhn
Copy link
Member

lrhn commented Nov 30, 2018

Dart integers are now 64-bit signed numbers. That makes the >>> logical down-shift operator useful again. (It existed once, but with arbitrary size integers, the it didn't make sense to do unsigned shifiting any more).

This is a request for the >>> operator. It makes sense in other cases too (like the Int64 class).

Associated feature specification has more details.

Implementation issue: #478

@lrhn lrhn added request Requests to resolve a particular developer problem feature Proposed language feature that solves one or more problems labels Nov 30, 2018
@mit-mit mit-mit added this to Ready for implementation in Language funnel Dec 1, 2018
@mit-mit mit-mit removed the request Requests to resolve a particular developer problem label Dec 3, 2018
@mit-mit mit-mit changed the title Dart integers have no logical down-shift operator. Triple-shift operator Jul 29, 2019
@rashedmyt
Copy link
Contributor

@lrhn In the 2nd para of the Background section in feature-specification, it is mentioned that dart integers are unsigned 64 bit which is the opposite of what said in the above comment..

@lrhn
Copy link
Member Author

lrhn commented Jan 27, 2020

Thanks, good catch. That should definitely be signed 64-bit integers.
Fixed.

@lrhn lrhn added the small-feature A small feature which is relatively cheap to implement. label Jul 8, 2020
@leafpetersen leafpetersen moved this from Ready for implementation to Being discussed in Language funnel Sep 11, 2020
@leafpetersen leafpetersen removed this from Being discussed in Language funnel Sep 11, 2020
@leafpetersen leafpetersen added this to Being implemented in Language funnel Feb 9, 2021
@creativecreatorormaybenot
Copy link
Contributor

@lrhn I think this can be closed now 🙌

#478 (comment)

@eernstg eernstg closed this as completed Aug 1, 2021
@leafpetersen leafpetersen moved this from Being implemented to Done in Language funnel Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Proposed language feature that solves one or more problems small-feature A small feature which is relatively cheap to implement.
Projects
Status: Done
Development

No branches or pull requests

5 participants