<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Count number of bits in a Ruby integer</title>
	<atom:link href="http://www.bergek.com/2009/03/11/count-number-of-bits-in-a-ruby-integer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bergek.com/2009/03/11/count-number-of-bits-in-a-ruby-integer/</link>
	<description>About the web we live in and gadgets in general.</description>
	<lastBuildDate>Mon, 08 Aug 2011 09:38:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: hollister uk</title>
		<link>http://www.bergek.com/2009/03/11/count-number-of-bits-in-a-ruby-integer/comment-page-1/#comment-9441</link>
		<dc:creator>hollister uk</dc:creator>
		<pubDate>Tue, 19 Jul 2011 14:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.bergek.com/?p=405#comment-9441</guid>
		<description>There is noticeably a bundle to learn about this. I assume you made sure nice points in features also.</description>
		<content:encoded><![CDATA[<p>There is noticeably a bundle to learn about this. I assume you made sure nice points in features also.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://www.bergek.com/2009/03/11/count-number-of-bits-in-a-ruby-integer/comment-page-1/#comment-4921</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Sun, 20 Sep 2009 11:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.bergek.com/?p=405#comment-4921</guid>
		<description>If you go to the length of using regular expressions any way, you may just scan for the number of &quot;1&quot;s

&lt;code&gt;num.to_s(2).scan(/1/).size&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>If you go to the length of using regular expressions any way, you may just scan for the number of &#8220;1&#8243;s</p>
<p><code>num.to_s(2).scan(/1/).size</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

