<?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>Comments on: Rounding Error</title>
	<atom:link href="http://peoplesoftsqr.com/index.php/2010/03/rounding-error/feed/" rel="self" type="application/rss+xml" />
	<link>http://peoplesoftsqr.com/index.php/2010/03/rounding-error/</link>
	<description>When Peoplebooks Is Not Enough</description>
	<lastBuildDate>Mon, 23 Jan 2012 21:54:00 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: administrator</title>
		<link>http://peoplesoftsqr.com/index.php/2010/03/rounding-error/comment-page-1/#comment-5892</link>
		<dc:creator>administrator</dc:creator>
		<pubDate>Wed, 24 Mar 2010 21:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=672#comment-5892</guid>
		<description>Absolutely.  I didn&#039;t round until right before I wrote the data to the export file, and the export file format imposed the rounding requirements (dollars and cents without a decimal point).  The ends-in-fives bias was due to the nature of the input values and type of operations performed, and would have appeared even with infinite-precision arithmetic.  Perhaps its similar to the oft-noted bias for numbers to begin with 1.

Interestingly, when I first inherited the program, I discovered that some numbers were being prematurely rounded to pennies and others weren&#039;t, leading to grand total errors between 10 and 100 dollars.</description>
		<content:encoded><![CDATA[<p>Absolutely.  I didn&#8217;t round until right before I wrote the data to the export file, and the export file format imposed the rounding requirements (dollars and cents without a decimal point).  The ends-in-fives bias was due to the nature of the input values and type of operations performed, and would have appeared even with infinite-precision arithmetic.  Perhaps its similar to the oft-noted bias for numbers to begin with 1.</p>
<p>Interestingly, when I first inherited the program, I discovered that some numbers were being prematurely rounded to pennies and others weren&#8217;t, leading to grand total errors between 10 and 100 dollars.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david nicol</title>
		<link>http://peoplesoftsqr.com/index.php/2010/03/rounding-error/comment-page-1/#comment-5890</link>
		<dc:creator>david nicol</dc:creator>
		<pubDate>Wed, 24 Mar 2010 15:22:10 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=672#comment-5890</guid>
		<description>presumably you adopted the chemist&#039;s best practice of making all calculations using all precision available and deferred rounding to the appropriate accuracy to the display (and comparison) phase? Or were you doing that all along, and wrote this because you had so many ends-in-fives that you multiplied together that the errors got up to the significant part?

Premature rounding is a form of premature optimization, when classifying evils.</description>
		<content:encoded><![CDATA[<p>presumably you adopted the chemist&#8217;s best practice of making all calculations using all precision available and deferred rounding to the appropriate accuracy to the display (and comparison) phase? Or were you doing that all along, and wrote this because you had so many ends-in-fives that you multiplied together that the errors got up to the significant part?</p>
<p>Premature rounding is a form of premature optimization, when classifying evils.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Josephson</title>
		<link>http://peoplesoftsqr.com/index.php/2010/03/rounding-error/comment-page-1/#comment-5880</link>
		<dc:creator>Bob Josephson</dc:creator>
		<pubDate>Thu, 18 Mar 2010 02:06:52 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=672#comment-5880</guid>
		<description>How about bankers&#039; rounding? See http://en.wikipedia.org/wiki/Bankers_rounding#Round_half_to_even</description>
		<content:encoded><![CDATA[<p>How about bankers&#8217; rounding? See <a href="http://en.wikipedia.org/wiki/Bankers_rounding#Round_half_to_even" rel="nofollow">http://en.wikipedia.org/wiki/Bankers_rounding#Round_half_to_even</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

