<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nigimitama</author_name>
  <author_url>https://blog.hatena.ne.jp/nigimitama/</author_url>
  <blog_title>盆暗の学習記録</blog_title>
  <blog_url>https://nigimitama.hatenablog.jp/</blog_url>
  <categories>
    <anon>R</anon>
    <anon>計算機科学</anon>
  </categories>
  <description>round関数の意味を誤解したまま使っていて面倒なことになったのでメモ。 round()は四捨五入をするわけではない 偶数への最近接丸め 言い換えると round()は厳密に偶数丸めをするわけではない 偶数丸めのアルゴリズムから予想される結果と数値計算の結果との誤差 representation errorに注意する必要がある 参考 round()は四捨五入をするわけではない 偶数への最近接丸め round()のhelpを確認してみると，Detailsの部分に Note that for rounding off a 5, the IEC 60559 standard (see also ‘I…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnigimitama.hatenablog.jp%2Fentry%2F2018%2F11%2F30%2F131543&quot; title=&quot;Rのround()は四捨五入をするわけではない - 盆暗の学習記録&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/n/nigimitama/20181130/20181130131008.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-30 13:15:43</published>
  <title>Rのround()は四捨五入をするわけではない</title>
  <type>rich</type>
  <url>https://nigimitama.hatenablog.jp/entry/2018/11/30/131543</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
