{"id":6176,"date":"2014-06-01T17:28:00","date_gmt":"2014-06-01T08:28:00","guid":{"rendered":"http:\/\/rentan.org\/blog\/?p=6176"},"modified":"2014-07-24T18:09:20","modified_gmt":"2014-07-24T09:09:20","slug":"dmonkey-number-int-error","status":"publish","type":"post","link":"https:\/\/rentan.org\/blog\/2014\/06\/01\/dmonkey-number-int-error\/","title":{"rendered":"DMonkey: Number#int \u3067\u5f37\u5236\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308b"},"content":{"rendered":"<pre class=\"prog_code\">\r\n<code>try {\r\n  alert (9223372036854775296.int);\r\n\/\/alert (-9223372036854775296.int); \u3067\u3082\u540c\u3058\r\n}\r\ncatch (e) {\r\n  alert ('error=' + e);\r\n}<code>\r\n<\/pre>\n<p>9223372036854775296 \u4ee5\u4e0a\u306e\u6570\u3001\u307e\u305f\u306f -9223372036854775296 \u4ee5\u4e0b\u306e\u6570\u306e <code>.int<\/code> \u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u53c2\u7167\u3059\u308b\u3068\u3001try catch \u3067\u6355\u6349\u3067\u304d\u306a\u3044\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rentan.org\/blog\/wp-content\/uploads\/dmonkey_invalid_floating_point_operation.png\" alt=\"dmonkey_invalid_floating_point_operation\" width=\"301\" height=\"191\" class=\"alignnone size-full wp-image-6177\" srcset=\"https:\/\/rentan.org\/blog\/wp-content\/uploads\/dmonkey_invalid_floating_point_operation.png 301w, https:\/\/rentan.org\/blog\/wp-content\/uploads\/dmonkey_invalid_floating_point_operation-150x95.png 150w, https:\/\/rentan.org\/blog\/wp-content\/uploads\/dmonkey_invalid_floating_point_operation-300x190.png 300w\" sizes=\"auto, (max-width: 301px) 100vw, 301px\" \/><\/p>\n<p>\u3082\u3063\u3068\u3082 <code>.int<\/code> \u3092\u53c2\u7167\u3059\u308b\u3053\u3068\u306f\u666e\u901a\u306f\u306a\u3044\u306e\u3067\u6c17\u306b\u3057\u306a\u304f\u3066\u3082\u5e73\u6c17\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u666e\u901a\u3058\u3083\u306a\u3044\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u304f\u3068\u3057\u3066\u3082\u4f55\u304b\u5f79\u306b\u7acb\u3064\u3053\u3068\u304c\u3042\u308b\u306e\u304b\u306f\u4e0d\u660e\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>try { alert (9223372036854775296.int); \/\/alert (-9223372036854775296.int); \u3067\u3082\u540c\u3058 } catch (e) { alert ('error='  [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[640],"tags":[1191],"class_list":["post-6176","post","type-post","status-publish","format-standard","hentry","category-irvine","tag-dmonkey"],"_links":{"self":[{"href":"https:\/\/rentan.org\/blog\/wp-json\/wp\/v2\/posts\/6176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rentan.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rentan.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rentan.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/rentan.org\/blog\/wp-json\/wp\/v2\/comments?post=6176"}],"version-history":[{"count":1,"href":"https:\/\/rentan.org\/blog\/wp-json\/wp\/v2\/posts\/6176\/revisions"}],"predecessor-version":[{"id":6178,"href":"https:\/\/rentan.org\/blog\/wp-json\/wp\/v2\/posts\/6176\/revisions\/6178"}],"wp:attachment":[{"href":"https:\/\/rentan.org\/blog\/wp-json\/wp\/v2\/media?parent=6176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rentan.org\/blog\/wp-json\/wp\/v2\/categories?post=6176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rentan.org\/blog\/wp-json\/wp\/v2\/tags?post=6176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}