Hi everyone,
as mentioned in another post, there exists a nice trick to compute the number of trailing zeros in an int's binary representation in constant time, i.e. without using a loop.
In an attempt to get a grip on DocBook XML, I wrote an HOWTO on that topic, see http://www.0xe3.com/text/ntz/.
I hope that some of you can come up with comments, ideas and corrections, and apart from the actual content also about the proper use of the English language. I've never taken the opportunity to talk to an English native speaker, so I'm quite uncertain about syntax, grammar and semantics.
Either way, I'd be glad to hear from you.
Greets,
Philip