<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xinformation</author_name>
  <author_url>https://blog.hatena.ne.jp/xinformation/</author_url>
  <blog_title>日々ブログ</blog_title>
  <blog_url>https://xinformation.hatenadiary.com/</blog_url>
  <categories>
    <anon>プログラミングのお話</anon>
    <anon>プログラミングのお話-Javascript</anon>
  </categories>
  <description>最近、javascriptを利用していて何故か計算が合わないという事態があり、javascriptには、ちょっと変わった計算精度があることを知りました。 どのプログラミング言語にも計算精度は存在するのですが、簡単な掛け算で発生したり、javascriptはちょっと複雑な事情できまっていることが分かったので記事にしたいと思います。 プログラムにおける計算精度って？ プログラムの計算精度には限界があります。 コンピュータの中身は数字を2進数で扱っており、また数字を表すための2進数の文字数も決まっています。 64bitアーキテクチャやら32 bit アーキテクチャなどを聞いたことはないでしょうか。こ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxinformation.hatenadiary.com%2Fentry%2F2021%2F08%2F07%2F210535&quot; title=&quot;【プログラミング】javascriptの計算精度について調べてみた話 - 日々ブログ&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/x/xinformation/20210807/20210807210422.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-08-07 21:05:35</published>
  <title>【プログラミング】javascriptの計算精度について調べてみた話</title>
  <type>rich</type>
  <url>https://xinformation.hatenadiary.com/entry/2021/08/07/210535</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
