<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takeda25</author_name>
  <author_url>https://blog.hatena.ne.jp/takeda25/</author_url>
  <blog_title>アスペ日記</blog_title>
  <blog_url>https://takeda25.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>注意: この記事は読んでも役に立ちません。頭を無駄に使いたい人向け。 普通のループは、たとえば 0 から 255 までなら、0 -&gt; 1 -&gt; 2 -&gt; ... というようにループする。そういう普通のループじゃなくて、ビットを逆転させた数字でループできたらいいのになぁということが最近あった。0 -&gt; 128 -&gt; 64 -&gt; ... のように。 探してみると、そういうページが見つかった。さすがネットは広い。コードは以下の通り。 int r = 0; // counter int s = 0; // bit-reversal of r/2&lt; int N = 256; // N can be an…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakeda25.hatenablog.jp%2Fentry%2F20131018%2F1382085336&quot; title=&quot;ビット逆転ループ - アスペ日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://ecx.images-amazon.com/images/I/41DYYQAGRDL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-10-18 17:35:36</published>
  <title>ビット逆転ループ</title>
  <type>rich</type>
  <url>https://takeda25.hatenablog.jp/entry/20131018/1382085336</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
