Closed bdunderscore closed 3 years ago
We can avoid needing a branch by using an XOR of the signed representation of -1 to implement bitwise NOT for signed types.
We can avoid needing a branch by using an XOR of the signed representation of -1 to implement bitwise NOT for signed types.