Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:58222 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S2992885AbXCICPi (ORCPT ); Thu, 8 Mar 2007 21:15:38 -0500 Date: Thu, 08 Mar 2007 18:15:38 -0800 (PST) Message-Id: <20070308.181538.51844021.davem@davemloft.net> To: tommy@numba-tu.com Cc: torvalds@linux-foundation.org, ivdoorn@gmail.com, johannes@sipsolutions.net, proski@gnu.org, linux-wireless@vger.kernel.org, linux-sparse@vger.kernel.org Subject: Re: OT From: David Miller In-Reply-To: <44121.209.213.198.25.1173402764.squirrel@numba-tu.com> References: <200703081908.40997.IvDoorn@gmail.com> <44121.209.213.198.25.1173402764.squirrel@numba-tu.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Sender: linux-wireless-owner@vger.kernel.org List-ID: From: "Tommy Thorn" Date: Thu, 8 Mar 2007 17:12:44 -0800 (PST) > 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 Or "Hacker's Delight" which comes up from time to time on these lists as well.