<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>orangeclover</author_name>
  <author_url>https://blog.hatena.ne.jp/orangeclover/</author_url>
  <blog_title>みちしるべ</blog_title>
  <blog_url>https://orangeclover.hatenablog.com/</blog_url>
  <categories>
    <anon>C</anon>
  </categories>
  <description>Write Great Code〈Vol.1〉ハードウェアを知り、ソフトウェアを書く 左シフトでは、最上位ビットの値は、この演算のキャリーアウト(桁上げ出力)になる 右シフトでは、第0ビットの値は、この演算のキャリーアウトになる 算術右シフトでは、最上位ビットの値は、変更されない 通常はこれにより、2の補数の符号付オペランドに対して、予想したとおりの結果が得られる。 ただし、この演算には、常に値が丸められるという注意点がある 実際の結果以下で、かつ実際の結果に最も近い整数になる。たとえば、-1($FF)を算術右シフトすると結果は0ではなく、-1となる。-1は0未満の値なので 算術右シフト演算で…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Forangeclover.hatenablog.com%2Fentry%2F20110420%2F1303297987&quot; title=&quot;WGC1 第3章2進数の算術演算子とビット演算 3.4シフトとローテート - みちしるべ&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://ec2.images-amazon.com/images/I/61J5PGR9KGL._SL180_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-04-20 20:13:07</published>
  <title>WGC1 第3章2進数の算術演算子とビット演算 3.4シフトとローテート</title>
  <type>rich</type>
  <url>https://orangeclover.hatenablog.com/entry/20110420/1303297987</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
