summaryrefslogtreecommitdiff
path: root/exercises/097_bit_manipulation.zig
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2024-05-06 07:25:18 +0000
committerChris Boesch <chrboesch@noreply.codeberg.org>2024-05-06 07:25:18 +0000
commit8345e839b09bd12947f547598fe9790859736023 (patch)
tree9c6010e10ad6542366315864d0b5f645b6d5dbe4 /exercises/097_bit_manipulation.zig
parent1ac46d7a42ae90006c99f9c4a9bfdb435de30cac (diff)
parent6c23f2682e08b8c24bca33a18dc1d9770259a061 (diff)
Merge pull request 'Fix some typos' (#89) from typos into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/89
Diffstat (limited to 'exercises/097_bit_manipulation.zig')
-rw-r--r--exercises/097_bit_manipulation.zig10
1 files changed, 5 insertions, 5 deletions
diff --git a/exercises/097_bit_manipulation.zig b/exercises/097_bit_manipulation.zig
index 424fb4c..03fc72d 100644
--- a/exercises/097_bit_manipulation.zig
+++ b/exercises/097_bit_manipulation.zig
@@ -1,5 +1,5 @@
//
-// Bit manipulations is a very powerful tool just also from Zig.
+// Bit manipulation is a very powerful tool, also from Zig.
// Since the dawn of the computer age, numerous algorithms have been
// developed that solve tasks solely by moving, setting, or logically
// combining bits.
@@ -8,10 +8,10 @@
// functions where possible. And it is often possible with calculations
// based on integers.
//
-// Often it is not easy to understand at first glance what exactly these
+// At first glance, it is often not easy to understand what exactly these
// algorithms do when only "numbers" in memory areas change outwardly.
-// But it must never be forgotten that the numbers only represent the
-// interpretation of the bit sequences.
+// However, it should never be forgotten that the numbers only represent
+// the interpretation of the bit sequences.
//
// Quasi the reversed case we have otherwise, namely that we represent
// numbers in bit sequences.
@@ -21,7 +21,7 @@
// Zig provides all the necessary functions to change the bits inside
// a variable. It is distinguished whether the bit change leads to an
// overflow or not. The details are in the Zig documentation in section
-// 10.1 "Table of Operators".
+// "Table of Operators".
//
// Here are some examples of how the bits of variables can be changed:
//