Linus Torvalds said: .... > Thus endeth Linus' "games with bits" lecture. It was probably more than you > really wanted to know. There's a ton of games you can play with simple "x-1" and > bitmasking ops like this). For anyone who enjoy this stuff (don't we all?), I heartily recommend Knuth's recent "Bitwise Tricks and Techniques" Pre-Fascicle: http://www-cs-faculty.stanford.edu/~knuth/news.html Regards, Tommy - To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html