Skip to content

Add bitwise ror, rol, operators alongside shr and shl #7

@andrew-wmg

Description

@andrew-wmg

Circular shift (ror/rol )operators are extremely useful for bare metal programming. They are hardware supported by almost all current CPU and MCU. The lack of these operators in C causes a lot of headaches. I explained it in more detail here. It would be amazing to make them part of the language.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions