<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>language_and_engineering</author_name>
  <author_url>https://blog.hatena.ne.jp/language_and_engineering/</author_url>
  <blog_title>主に言語とシステム開発に関して</blog_title>
  <blog_url>https://language-and-engineering.hatenablog.jp/</blog_url>
  <categories>
    <anon>javascript</anon>
    <anon>動かないコード</anon>
    <anon>数値計算</anon>
  </categories>
  <description>連載目次へ 以下のJavaScriptコードが意図した動作をしないのは，なぜですか。（制限時間１分） やりたい事： ２の５５乗を計算する。（正しい値は 36028797018963968 ） &lt;input type=&quot;button&quot; value=&quot;２の55乗を計算して表示&quot; onclick=&quot;f()&quot;&gt; &lt;script&gt; function f(){ alert( &quot;「2の55乗は36028797018963968」と表示します。\n\n&quot; + &quot;「2の55乗は&quot; + Math.pow( 2, 55 ) + &quot;」\n\n&quot; + &quot;「2の55乗は&quot; + 36028797018963968 + &quot;」…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flanguage-and-engineering.hatenablog.jp%2Fentry%2F20150513%2FJavaScriptIeee754OutOfRangeError&quot; title=&quot;JavaScriptの動かないコード（中級編）大きな数字を表示できないエラー （2の53乗を超えると，IEEE754の精度保証外なので計算もalertも不可能） - 主に言語とシステム開発に関して&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>2015-05-13 00:00:00</published>
  <title>JavaScriptの動かないコード（中級編）大きな数字を表示できないエラー （2の53乗を超えると，IEEE754の精度保証外なので計算もalertも不可能）</title>
  <type>rich</type>
  <url>https://language-and-engineering.hatenablog.jp/entry/20150513/JavaScriptIeee754OutOfRangeError</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
