From fe189a64e41317398fb08b49fd20246f6b55cdcc Mon Sep 17 00:00:00 2001 From: Wojtek Porczyk Date: Fri, 17 May 2024 16:58:50 +0200 Subject: [PATCH] 10_as_casting.md: fix 256 bit representation (#6) --- book/src/02_basic_calculator/10_as_casting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/02_basic_calculator/10_as_casting.md b/book/src/02_basic_calculator/10_as_casting.md index bbf837c..e878f63 100644 --- a/book/src/02_basic_calculator/10_as_casting.md +++ b/book/src/02_basic_calculator/10_as_casting.md @@ -46,7 +46,7 @@ To understand what happens, let's start by looking at how `256u16` is represented in memory, as a sequence of bits: ```text - 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 | | | +---------------+---------------+ First 8 bits Last 8 bits -- 2.45.2