<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inamori</author_name>
  <author_url>https://blog.hatena.ne.jp/inamori/</author_url>
  <blog_title>inamori’s diary</blog_title>
  <blog_url>https://inamori.hateblo.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>Python</anon>
  </categories>
  <description>浮動小数点数（IEEE 754）の話。倍精度で0.2は0.2より大きいだろうか。 print &quot;%.17f&quot; % 0.2 # 0.20000000000000001すなわち、0.2より大きい。 0.2は内部ではどう表現されているだろうか。0.2を倍倍にしていってはじめて1以上になるのは、0.2-&gt;0.4-&gt;0.8-&gt;1.6だから、0.2は1.6×2-3で、仮数部の1.6から1を引いた0.6を52ビットで表す。 x = [ 6, 10 ] s = &quot;0.&quot; for i in range(53): x[0] += x[0] if x[0] &gt;= x[1]: s += &quot;1&quot; x[0] -= x[1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20090223%2Fp1&quot; title=&quot;「0.2」は0.2より大きいか？ - inamori’s diary&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>2009-02-23 00:00:00</published>
  <title>「0.2」は0.2より大きいか？</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/20090223/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
