Add support for logical operators |, &, ~. The logical operations should act in a bitwise fashion.
This is the list (taken from the MATLAB documentation:
[x] and(a,b), &
[x] or(a,b), |
[ ] not(a), ~
Problem and motivation
Right now, bitmasks can not be easily combined. This would change it.
Feature description
Add support for logical operators
|
,&
,~
. The logical operations should act in a bitwise fashion. This is the list (taken from the MATLAB documentation:&
|
~
Problem and motivation
Right now, bitmasks can not be easily combined. This would change it.
Is this something you're interested in working on
Yes.