<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Counting Bits</title>
	<atom:link href="http://www.donniepinkston.net/2007-07-16/counting-bits.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.donniepinkston.net/2007-07-16/counting-bits.html</link>
	<description>(there are many more like it, but this one is mine)</description>
	<pubDate>Fri, 05 Dec 2008 00:29:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: donnie</title>
		<link>http://www.donniepinkston.net/2007-07-16/counting-bits.html#comment-7898</link>
		<dc:creator>donnie</dc:creator>
		<pubDate>Mon, 16 Jul 2007 17:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.donniepinkston.net/2007-07-16/counting-bits.html#comment-7898</guid>
		<description>Hahaha, sigh, I didn't realize that back then.  :-)

Even though, it's still a nice way to check a number for being a power of two, don't you think?

&lt;pre&gt;  if (n &#62; 0 &#38;&#38; (n &#38; (n - 1)) == 0) { ... }&lt;/pre&gt;

It's beautiful, no???  :-D</description>
		<content:encoded><![CDATA[<p>Hahaha, sigh, I didn&#8217;t realize that back then.  <img src='http://www.donniepinkston.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Even though, it&#8217;s still a nice way to check a number for being a power of two, don&#8217;t you think?</p>
<pre>  if (n &gt; 0 &amp;&amp; (n &amp; (n - 1)) == 0) { ... }</pre>
<p>It&#8217;s beautiful, no???  <img src='http://www.donniepinkston.net/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.donniepinkston.net/2007-07-16/counting-bits.html#comment-7897</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 16 Jul 2007 17:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.donniepinkston.net/2007-07-16/counting-bits.html#comment-7897</guid>
		<description>...and after hearing the answer you then you proceeded to share with your interviewer that premature optimization is the root of all evil, right?  :)</description>
		<content:encoded><![CDATA[<p>&#8230;and after hearing the answer you then you proceeded to share with your interviewer that premature optimization is the root of all evil, right?  <img src='http://www.donniepinkston.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
