From cba6e528d64688e1d2f49425cad028e04116b5c2 Mon Sep 17 00:00:00 2001 From: Ineiev Date: Sat, 2 Sep 2023 13:49:30 +0000 Subject: [PATCH] (Shift Hacks): Fix a typo. --- c.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c.texi b/c.texi index 8a422f8..b37b251 100644 --- a/c.texi +++ b/c.texi @@ -2379,7 +2379,7 @@ To extract the day, month, and year out of /* @r{Remainder dividing by 32 gives lowest 5 bits, 0b1100.} */ d = date % 32; /* @r{Shifting 5 bits right discards the day, leaving 0b111101111110110.} - Remainder dividing by 16 gives lowest remaining 4 bits, 0b110.} */ + @r{Remainder dividing by 16 gives lowest remaining 4 bits, 0b110.} */ m = (date >> 5) % 16; /* @r{Shifting 9 bits right discards day and month,} @r{leaving 0b111101111110.} */