064_builtins: clarify @addWithOverflow explanation

There were misunderstandings concerning
overflowing operations and overflowed variables.
Hopefully it's clearer now.
This commit is contained in:
DerTee
2022-04-21 07:09:21 +02:00
parent 6955f2c067
commit daf0a99f94
3 changed files with 35 additions and 17 deletions

View File

@@ -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);