diff options
author | DerTee <grrrrrrrahhh@yahoo.com> | 2022-04-21 07:09:21 +0200 |
---|---|---|
committer | DerTee <grrrrrrrahhh@yahoo.com> | 2022-05-16 02:37:18 +0200 |
commit | 7e797fce520f1f190f971592acce082cc7ee102a (patch) | |
tree | 890e651910d05d29845ce1207700de487b2da986 /build.zig | |
parent | 1a89e4ebf13756541916cf5ed47866a3dd7e74df (diff) | |
download | ziglings-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.zig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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", |