<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ahiru8usagi</author_name>
  <author_url>https://blog.hatena.ne.jp/ahiru8usagi/</author_url>
  <blog_title>あんりふ！</blog_title>
  <blog_url>https://ahiru8usagi.hatenablog.com/</blog_url>
  <categories>
    <anon>学び</anon>
    <anon>学び-コンピューターサイエンス</anon>
  </categories>
  <description>10進数では、数字の桁を左にずらすと10倍、右にずらすと1/10になります。 例えば、250という数字があるとすれば、 左にずらす：2500（10倍） 右にずらす：25（1/10） 2進数の場合、数字の桁を左にずらすと2倍、右にずらすと1/2になります。 例えば、1100（10進数だと12） 左にずらす：11000（10進数だと24、つまり2倍） 右にずらす：110（10進数だと6、つまり1/2） このように数字を左や右にずらすだけで、（2進数なら）2倍や1/2の計算は簡単にできます。これを『シフト演算』と言います。 では2進数で2倍や1/2以外の掛け算や割り算（例えば3倍とか5で割るとか）を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fahiru8usagi.hatenablog.com%2Fentry%2Fshift-operations&quot; title=&quot;【シフト演算】2進数の掛け算・割り算のやり方 - あんりふ！&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>https://cdn-ak.f.st-hatena.com/images/fotolife/a/ahiru8usagi/20220531/20220531231758.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-06-01 08:00:00</published>
  <title>【シフト演算】2進数の掛け算・割り算のやり方</title>
  <type>rich</type>
  <url>https://ahiru8usagi.hatenablog.com/entry/shift-operations</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
