-
Notifications
You must be signed in to change notification settings - Fork 220
Closed
Labels
featureProposed language feature that solves one or more problemsProposed language feature that solves one or more problemssmall-featureA small feature which is relatively cheap to implement.A small feature which is relatively cheap to implement.
Description
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
marcglasberg, rashedmyt, tiagohm, ramsestom, joaomaciel-toro and 21 more
Metadata
Metadata
Assignees
Labels
featureProposed language feature that solves one or more problemsProposed language feature that solves one or more problemssmall-featureA small feature which is relatively cheap to implement.A small feature which is relatively cheap to implement.
Type
Projects
Status
Done
Milestone
Relationships
Development
Select code repository
Activity
[-]Dart integers have no logical down-shift operator.[/-][+]Triple-shift operator[/+]rashedmyt commentedon Jan 26, 2020
@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 commentedon Jan 27, 2020
Thanks, good catch. That should definitely be signed 64-bit integers.
Fixed.
>>>
as an overridable operator. dart-lang/dartdoc#2518creativecreatorormaybenot commentedon Aug 1, 2021
@lrhn I think this can be closed now 🙌
#478 (comment)