There were misunderstandings concerning overflowing operations and overflowed variables. Hopefully it's clearer now.
7 lines
187 B
Diff
7 lines
187 B
Diff
72c72
|
|
- const expected_result: u8 = ???;
|
|
+ const expected_result: u8 = 0b00010010;
|
|
88c88
|
|
- const tupni: u8 = @bitReverse(input);
|
|
+ const tupni: u8 = @bitReverse(u8, input);
|