05-07-2020 08:57 PM - edited 05-07-2020 09:58 PM
for example there are 8 bits per segment thing if you add them all up but in the the power of 2 there are only 7 why ?
05-08-2020 02:52 AM
Remember that 0 is a number as well.
Think matrices/arrays in programming, which starts with index 0 in most languages. Making index 7 the eighth value in the list.
05-08-2020 07:53 AM
Hello @dolanduck.
be aware that 2^0 = 1 actually every number N^0 = 1 so the rightmost position in an octet/byte is 1 and that 1 allows to represent odd numbers otherwise how you could represent a number like 129 ?
129 = 10000001 in binary = 2^7 + 2^0 = 128 + 1
Hope to help
Giuseppe
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide