On Monday 29 September 2025 10:44:23 am Michael Stone wrote:
> That is, in an integer is implemented as an 8 bit value, such that when you 
> add 1 to 256 it wraps 
> around to 0.

Uh,  no.

Eight bits can represent 256 different values,  but since one of them is zero,  
the highest value that can be represented is 255,  not 256.  You add 1 to 255 
and _that_ wraps around to zero...

-- 
Member of the toughest, meanest, deadliest, most unrelenting -- and
ablest -- form of life in this section of space,  a critter that can
be killed but can't be tamed.  --Robert A. Heinlein, "The Puppet Masters"
-
Information is more dangerous than cannon to a society ruled by lies. --James 
M Dakin

Reply via email to