Maths error


Author Message
domwild
Guru

Joined: 16/12/2005
Location: Australia
Posts: 873
Posted: 11:29pm 28 Jun 2011      

Hi,

From memory 65536 is 2**16, but in 16 bits the max. integer that can be stored is only 65535 or 2**16 - 1.

A bit like the max integer using two digits is 99 and not 100 or 10**2.

Am I right or are you wrong??

Taxation as a means of achieving prosperity is like a man standing inside a bucket trying to lift himself up.

Winston Churchill