<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: 1 &#8211; 0.8 &#8211; 0.2 = ?</title>
	<atom:link href="http://anil.wordpress.com/2005/12/16/1-08-02/feed/" rel="self" type="application/rss+xml" />
	<link>http://anil.wordpress.com/2005/12/16/1-08-02/</link>
	<description>All the things I am Interested in.</description>
	<lastBuildDate>Tue, 03 Nov 2009 08:55:34 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anil</title>
		<link>http://anil.wordpress.com/2005/12/16/1-08-02/#comment-9</link>
		<dc:creator>Anil</dc:creator>
		<pubDate>Wed, 01 Feb 2006 22:52:28 +0000</pubDate>
		<guid isPermaLink="false">http://anil.wordpress.com/2005/12/16/1-08-02/#comment-9</guid>
		<description>Wow, Google corrected the problem.</description>
		<content:encoded><![CDATA[<p>Wow, Google corrected the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://anil.wordpress.com/2005/12/16/1-08-02/#comment-8</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Wed, 01 Feb 2006 19:24:53 +0000</pubDate>
		<guid isPermaLink="false">http://anil.wordpress.com/2005/12/16/1-08-02/#comment-8</guid>
		<description>The problem is that there is no binary number (using IEEE floating point representation, as in use by all modern computer architectures) that is exactly equal to either 0.8 or 0.2.  The question you have asked the calculator (or programming language) to perform is &quot;subtract from 1 the binary numbers that are closest to 0.8 and 0.2.  Then print the result in some format.&quot;  All agree on the result, but there is some leeway in how it is printed.</description>
		<content:encoded><![CDATA[<p>The problem is that there is no binary number (using IEEE floating point representation, as in use by all modern computer architectures) that is exactly equal to either 0.8 or 0.2.  The question you have asked the calculator (or programming language) to perform is &#8220;subtract from 1 the binary numbers that are closest to 0.8 and 0.2.  Then print the result in some format.&#8221;  All agree on the result, but there is some leeway in how it is printed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DYA</title>
		<link>http://anil.wordpress.com/2005/12/16/1-08-02/#comment-7</link>
		<dc:creator>DYA</dc:creator>
		<pubDate>Sat, 21 Jan 2006 04:15:03 +0000</pubDate>
		<guid isPermaLink="false">http://anil.wordpress.com/2005/12/16/1-08-02/#comment-7</guid>
		<description>I have found why pearl and Java hade made the same mistake and the C gived ya the right one.

When you use %f in the function printf the value of the variable &#039;c&#039; The value of &#039;c&#039; is rounded cause you cant print out the exponetial part. That is why you get a -0 but use the parameter %e and you&#039;ll see the same anwser as Java and pearl did.

So Pearl and Java use the %e parameter when hey print out there Double.

And why -5.551115×10^-17 ? Simple, there is no real 0 in float just a close one. Why no real 0 ? Simple, a computer doesnt understand what is a fractional number so they trick the machine into coding the number inside another one. So float number are only logical number and not real number for the computer.

If you get hard time reading this, that mean my english havent improved.</description>
		<content:encoded><![CDATA[<p>I have found why pearl and Java hade made the same mistake and the C gived ya the right one.</p>
<p>When you use %f in the function printf the value of the variable &#8216;c&#8217; The value of &#8216;c&#8217; is rounded cause you cant print out the exponetial part. That is why you get a -0 but use the parameter %e and you&#8217;ll see the same anwser as Java and pearl did.</p>
<p>So Pearl and Java use the %e parameter when hey print out there Double.</p>
<p>And why -5.551115×10^-17 ? Simple, there is no real 0 in float just a close one. Why no real 0 ? Simple, a computer doesnt understand what is a fractional number so they trick the machine into coding the number inside another one. So float number are only logical number and not real number for the computer.</p>
<p>If you get hard time reading this, that mean my english havent improved.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
