{"url":"https://unageanu.hatenablog.com/entry/20081231/1230713677","description":"\u3053\u306e\u9593\u4f5c\u6210\u3057\u305f\u6570\u5024\u306e\u5148\u982d\u306b0\u3092\u8ffd\u52a0\u3057\u3066\u6841\u3092\u3042\u308f\u305b\u308b\u95a2\u6570\u304c\u30d0\u30b0\u3063\u3066\u3044\u305f\u306e\u3067\u4fee\u6b63\u3002\u300cMath.log(0)\u300d\u3063\u3066-Infinity\u3092\u8fd4\u3059\u306e\u306d\u30fb\u30fb\u30fborz\u3002\u3042\u3068\u8ca0\u6570\u306e\u5834\u5408\u3082NaN\u306b\u306a\u308b\u306e\u304b\u3002 Math.log( 0 ) // -Infinity Math.log( -1 ) // NaN Math.log( -100 ) // NaN\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u95a2\u6570\u306b\u6761\u4ef6\u5224\u5b9a\u3092\u8ffd\u52a0\u3002 /** * \u5fc5\u8981\u306a\u6841\u6570\u307e\u30670\u3092\u57cb\u3081\u308b\u3002 * @param number \u6841\u6570 * @param size \u6841\u6570 */ function fillZero( number, size ) { if ( number < 0 ) thr\u2026","title":" \u6570\u5024\u306e\u5148\u982d\u306b0\u3092\u8ffd\u52a0\u3057\u3066\u6841\u3092\u3042\u308f\u305b\u308b\u95a2\u6570\u304c\u30d0\u30b0\u3063\u3066\u3044\u305f\u306e\u3067\u4fee\u6b63\u3002","type":"rich","author_url":"https://blog.hatena.ne.jp/unageanu/","blog_title":"\u3046\u306a\u306e\u65e5\u8a18","width":"100%","image_url":null,"version":"1.0","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20081231%2F1230713677\" title=\" \u6570\u5024\u306e\u5148\u982d\u306b0\u3092\u8ffd\u52a0\u3057\u3066\u6841\u3092\u3042\u308f\u305b\u308b\u95a2\u6570\u304c\u30d0\u30b0\u3063\u3066\u3044\u305f\u306e\u3067\u4fee\u6b63\u3002 - \u3046\u306a\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2008-12-31 17:54:37","author_name":"unageanu","height":"190","blog_url":"https://unageanu.hatenablog.com/","categories":["JavaScript"]}