Random memory

Wednesday, 15 September 2004 21:18
pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)
[personal profile] pne

At one point in my youth, I though it would be a good idea to memorise the powers of two up to 216 = 65536.

It's occasionally come in handy in programming, and I've learned a few more since then, e.g. 218 = 262144 (256K, number of colours in the VGA palette, six bits each for R G B), 220 = 1'048'576 (number of bytes in a megabyte), or 224 = 16'777'216 (number of HTML colours, for example).

Profile

pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)
Philip Newton

June 2015

S M T W T F S
 12 3456
78910111213
14151617181920
2122232425 2627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Friday, 2 January 2026 11:30
Powered by Dreamwidth Studios