<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://mars.merhot.dk/w/index.php?action=history&amp;feed=atom&amp;title=Number_of_bits_set</id>
		<title>Number of bits set - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://mars.merhot.dk/w/index.php?action=history&amp;feed=atom&amp;title=Number_of_bits_set"/>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=Number_of_bits_set&amp;action=history"/>
		<updated>2026-04-23T22:44:38Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=Number_of_bits_set&amp;diff=21658&amp;oldid=prev</id>
		<title>Heth at 06:00, 24 February 2012</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=Number_of_bits_set&amp;diff=21658&amp;oldid=prev"/>
				<updated>2012-02-24T06:00:09Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 06:00, 24 February 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot; &gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:C]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:C&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Heth</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=Number_of_bits_set&amp;diff=21657&amp;oldid=prev</id>
		<title>Heth: Created page with &quot;=C programming= The following function returns number of bits set i &lt;source lang=c&gt; int NumberOfSetBits32(int i) {     i = i - ((i &gt;&gt; 1) &amp; 0x55555555);     i = (i &amp; 0x33333333) +...&quot;</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=Number_of_bits_set&amp;diff=21657&amp;oldid=prev"/>
				<updated>2012-02-23T14:16:02Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;=C programming= The following function returns number of bits set i &amp;lt;source lang=c&amp;gt; int NumberOfSetBits32(int i) {     i = i - ((i &amp;gt;&amp;gt; 1) &amp;amp; 0x55555555);     i = (i &amp;amp; 0x33333333) +...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=C programming=&lt;br /&gt;
The following function returns number of bits set i&lt;br /&gt;
&amp;lt;source lang=c&amp;gt;&lt;br /&gt;
int NumberOfSetBits32(int i)&lt;br /&gt;
{&lt;br /&gt;
    i = i - ((i &amp;gt;&amp;gt; 1) &amp;amp; 0x55555555);&lt;br /&gt;
    i = (i &amp;amp; 0x33333333) + ((i &amp;gt;&amp;gt; 2) &amp;amp; 0x33333333);&lt;br /&gt;
    return (((i + (i &amp;gt;&amp;gt; 4)) &amp;amp; 0x0F0F0F0F) * 0x01010101) &amp;gt;&amp;gt; 24;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
[[Category:C]&lt;/div&gt;</summary>
		<author><name>Heth</name></author>	</entry>

	</feed>