aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorDerTee <grrrrrrrahhh@yahoo.com>2022-04-21 07:09:21 +0200
committerDerTee <grrrrrrrahhh@yahoo.com>2022-05-16 02:37:18 +0200
commit7e797fce520f1f190f971592acce082cc7ee102a (patch)
tree890e651910d05d29845ce1207700de487b2da986 /build.zig
parent1a89e4ebf13756541916cf5ed47866a3dd7e74df (diff)
downloadziglings-7e797fce520f1f190f971592acce082cc7ee102a.tar.gz
ziglings-7e797fce520f1f190f971592acce082cc7ee102a.tar.bz2
ziglings-7e797fce520f1f190f971592acce082cc7ee102a.tar.xz
ziglings-7e797fce520f1f190f971592acce082cc7ee102a.zip
064_builtins: clarify @addWithOverflow explanation
There were misunderstandings concerning overflowing operations and overflowed variables. Hopefully it's clearer now.
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index d4fdb8e..839d7d2 100644
--- a/build.zig
+++ b/build.zig
@@ -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",