<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yz2cm</author_name>
  <author_url>https://blog.hatena.ne.jp/yz2cm/</author_url>
  <blog_title>ゆずさん研究所</blog_title>
  <blog_url>https://yz2cm.hatenadiary.org/</blog_url>
  <categories>
    <anon>Programming C</anon>
  </categories>
  <description>「C言語はポインタが難しい」というのが定説ですが、ポインタは四天王の中でも最弱だと思っています。ポインタ以上に難解なのが、この「汎整数拡張」。インテグラル・プロモーション（integral promotion）とも言います。汎整数拡張の挙動を確認する上で、ビットレベルで値を確認するのは必須ですが、そういう標準ライブラリは存在しないので、これは自作します。引数numに二進数表示した整数値を指定し、lenには、その整数型のビット幅をsizeof演算子で求めた値を指定すると、指定されたビット幅での二進数表現が表示されます。 4 void bit_dump(unsigned int num, size…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyz2cm.hatenadiary.org%2Fentry%2F20140622%2F1403392385&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-06-22 08:13:05</published>
  <title>【汎整数拡張】第１回　内部表現と数学的値</title>
  <type>rich</type>
  <url>https://yz2cm.hatenadiary.org/entry/20140622/1403392385</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
