<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>あらためて言いたい、小数点計算がデキナイActionscript 3 へのコメント</title>
	<atom:link href="http://www.inazumatv.com/contents/archives/3022/feed" rel="self" type="application/rss+xml" />
	<link>http://www.inazumatv.com/contents/archives/3022</link>
	<description>multimedia design, Actionscript, Lingo, PHP, Perl, SQL</description>
	<lastBuildDate>Sun, 29 Jan 2012 08:27:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>ef より</title>
		<link>http://www.inazumatv.com/contents/archives/3022/comment-page-1#comment-317</link>
		<dc:creator>ef</dc:creator>
		<pubDate>Sun, 19 Apr 2009 02:22:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.inazumatv.com/contents/?p=3022#comment-317</guid>
		<description>これは、浮動小数点数が２を底にしていることに由来する挙動ですから、「イケテナイ」のは numToInt() の実装のように思えます(JavsScrip/ActionScriptに限った問題ではありません)。
循環小数のことも考えると、精度（＝仮数部 n の桁数）に上限を設けるのが妥当ではないでしょうか？
＃Cの frexp() がJS/ASにあれば、もう少しエレガントな実装が出来るんですが・・・</description>
		<content:encoded><![CDATA[<p>これは、浮動小数点数が２を底にしていることに由来する挙動ですから、「イケテナイ」のは numToInt() の実装のように思えます(JavsScrip/ActionScriptに限った問題ではありません)。<br />
循環小数のことも考えると、精度（＝仮数部 n の桁数）に上限を設けるのが妥当ではないでしょうか？<br />
＃Cの frexp() がJS/ASにあれば、もう少しエレガントな実装が出来るんですが・・・</p>
]]></content:encoded>
	</item>
</channel>
</rss>

