Powers of two
Jul. 3rd, 2008 11:41 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I can't remember what made me think of this, but there's a bit in Snow Crash about powers of two, and I wondered if things had changed, and that people deal in higher level stuff than this these days. And it's just striking and a bit weird anyway that some people have had occasion to memorize this stuff, I wondered if you had...
[Poll #1217360]
Update: The "powers of two" are just 1+1 = 2, 2+2 = 4, 4+4 = 8, 8+8 = 16 and so on.
Update: it seems like it isn't clear from the above, so for the avoidance of doubt, no-one should feel that they should know this off by heart!
[Poll #1217360]
Update: The "powers of two" are just 1+1 = 2, 2+2 = 4, 4+4 = 8, 8+8 = 16 and so on.
Update: it seems like it isn't clear from the above, so for the avoidance of doubt, no-one should feel that they should know this off by heart!
It's easy
Date: 2008-07-03 10:55 pm (UTC)0x00000002
0x00000004
0x00000008
0x00000010
etc
;)
no subject
Date: 2008-07-03 10:56 pm (UTC)no subject
Date: 2008-07-03 10:58 pm (UTC)no subject
Date: 2008-07-03 10:59 pm (UTC)no subject
Date: 2008-07-03 11:01 pm (UTC)no subject
Date: 2008-07-03 11:03 pm (UTC)no subject
Date: 2008-07-03 11:05 pm (UTC)no subject
Date: 2008-07-03 11:15 pm (UTC)no subject
Date: 2008-07-03 11:57 pm (UTC)no subject
Date: 2008-07-04 12:13 am (UTC)I note that right now the poll responses look like: 15, 7, 1. Which is nice.
But does anyone know 2^17?
no subject
Date: 2008-07-04 12:20 am (UTC)Textures for games usually have power-of-two resolutions, and that'd be at the silly end of the image-sizes I'm likely to touch.
(actually, 64x64 is a largish texture for the game I'm working on right now)
no subject
Date: 2008-07-04 12:24 am (UTC)no subject
Date: 2008-07-04 12:29 am (UTC)nota primeETA: arg, sorry, shouldn't make claims of (non) primality at 1h30AM.
no subject
Date: 2008-07-04 01:00 am (UTC)no subject
Date: 2008-07-04 02:05 am (UTC)Re: It's easy
Date: 2008-07-04 02:42 am (UTC)?
no subject
Date: 2008-07-04 02:44 am (UTC)no subject
Date: 2008-07-04 03:04 am (UTC)1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 163oh dammit, 32768, 65536.
The others I can reel off like telephone numbers. Better change my vote.
no subject
Date: 2008-07-04 03:05 am (UTC)I also can't put that sentence together.
no subject
Date: 2008-07-04 03:09 am (UTC)no subject
Date: 2008-07-04 05:30 am (UTC)no subject
Date: 2008-07-04 06:23 am (UTC)I was an oddity in high school - top sets for science (extra classes and everything!) and third set for maths. No one else was in anything less than top set for maths.
no subject
Date: 2008-07-04 06:38 am (UTC)no subject
Date: 2008-07-04 07:17 am (UTC)no subject
Date: 2008-07-04 07:20 am (UTC)