Page 1 of 1
Magic Number
Posted: 29 Jun 2007, 03:17
by Kicon Kijin
The magic number is...
255
Why is it always 255?
Posted: 29 Jun 2007, 10:03
by Crush
255 is the largest number you can represent in one byte.
Posted: 29 Jun 2007, 16:59
by Matt
???
Posted: 29 Jun 2007, 18:13
by ogberi
It's a binary thing.
A byte is 8 bits. A bit has 2 states, 0 or 1.
So 2 ^ 8 = 256. Computers start counting at zero, so it's 0 to 255.
Posted: 29 Jun 2007, 18:15
by Matt
Well. I know. But ... wtf ... why created he a thread about it. here? it doesnt make sense!
ebnr <tagged>