Hacker News new | ask | show | jobs
by caprad 4535 days ago
Why is this cool and clever? It still only encodes 12 bits of data, it is just different to using the normal 12 bits of data.

Is this a more useful subset? I am guessing it is so, since they went to this trouble.

1 comments

It can generate 4096 different slightly useful 32-bit values. For others, you may assemble them using a variety of methods.
It generates fewer than 4096 unique values, as some values map to the same thing. The most obvious being that 0 shifted any number of places produces 0, but also 0x10 shifted left 0 is the same as 0x04 shifted left 2 is the same as 0x01 shifted left 4.
Makes sense. Well... It produces less than 4096 interesting 32-bit values.