064_builtins: clarify @addWithOverflow explanation
There were misunderstandings concerning overflowing operations and overflowed variables. Hopefully it's clearer now.
This commit is contained in:
parent
1a89e4ebf1
commit
7e797fce52
3 changed files with 35 additions and 17 deletions
|
|
@ -1,4 +1,6 @@
|
|||
72c72
|
||||
< const tupni: u8 = @bitReverse(input);
|
||||
---
|
||||
> const tupni: u8 = @bitReverse(u8, input);
|
||||
- const expected_result: u8 = ???;
|
||||
+ const expected_result: u8 = 0b00010010;
|
||||
88c88
|
||||
- const tupni: u8 = @bitReverse(input);
|
||||
+ const tupni: u8 = @bitReverse(u8, input);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue