diff options
| author | DerTee <[email protected]> | 2022-04-21 07:09:21 +0200 |
|---|---|---|
| committer | DerTee <[email protected]> | 2022-05-16 02:37:18 +0200 |
| commit | daf0a99f94e8d9ebc1efa3fcda841078a2b2bec3 (patch) | |
| tree | 890e651910d05d29845ce1207700de487b2da986 /build.zig | |
| parent | 6955f2c067f4d36b30219931cf13832ebad6a3c4 (diff) | |
| download | ziglings-daf0a99f94e8d9ebc1efa3fcda841078a2b2bec3.tar.xz ziglings-daf0a99f94e8d9ebc1efa3fcda841078a2b2bec3.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", |
