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 1a89e4ebf1
commit 7e797fce52
3 changed files with 35 additions and 17 deletions

View file

@ -331,7 +331,7 @@ const exercises = [_]Exercise{
},
.{
.main_file = "064_builtins.zig",
.output = "1101 + 0101 = 0010 (true). Furthermore, 11110000 backwards is 00001111.",
.output = "1101 + 0101 = 0010 (true). Without overflow: 00010010. Furthermore, 11110000 backwards is 00001111.",
},
.{
.main_file = "065_builtins2.zig",