<?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: You live and learn, C++</title>
	<atom:link href="http://silvermace.com/2009/04/you-live-and-learn-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://silvermace.com/2009/04/you-live-and-learn-c/</link>
	<description>Danushka &#34;silvermace&#34; Abeysuriya</description>
	<lastBuildDate>Sun, 11 Mar 2012 21:38:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: silvermace</title>
		<link>http://silvermace.com/2009/04/you-live-and-learn-c/comment-page-1/#comment-66</link>
		<dc:creator>silvermace</dc:creator>
		<pubDate>Fri, 08 May 2009 02:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.silvermace.com/?p=48#comment-66</guid>
		<description>Yea that bug was definately an interesting one. Good old int truncation aye :)

Yea, I love bits of code with little suprise comments like:

 /* DO NOT CHANGE, DON&#039;T KNOW WHAT THIS DOES, BUT THERE&#039;S A BUG AND THE PRODUCTION CODE 1.4.1 RELIES ON THE BEHAVIOUR */

now you gotta ask yourself, did I just make up that comment ;-) haha (hint: I didn&#039;t) ????</description>
		<content:encoded><![CDATA[<p>Yea that bug was definately an interesting one. Good old int truncation aye <img src='http://silvermace.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Yea, I love bits of code with little suprise comments like:</p>
<p> /* DO NOT CHANGE, DON&#8217;T KNOW WHAT THIS DOES, BUT THERE&#8217;S A BUG AND THE PRODUCTION CODE 1.4.1 RELIES ON THE BEHAVIOUR */</p>
<p>now you gotta ask yourself, did I just make up that comment <img src='http://silvermace.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  haha (hint: I didn&#8217;t) ????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://silvermace.com/2009/04/you-live-and-learn-c/comment-page-1/#comment-65</link>
		<dc:creator>David</dc:creator>
		<pubDate>Fri, 01 May 2009 11:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.silvermace.com/?p=48#comment-65</guid>
		<description>Now that&#039;s an un-obvious bug. It&#039;s funny how little details of the language can be so important. There was one at work (in an open source project) where some trig code was just slightly off for negative values because casting to int truncates, it doesn&#039;t floor. That&#039;s at least reasonably common knowledge, but it&#039;s not that noticeable. To the point that there had been a comment at the top of the file describing how to reproduce the bug for a while :-).</description>
		<content:encoded><![CDATA[<p>Now that&#8217;s an un-obvious bug. It&#8217;s funny how little details of the language can be so important. There was one at work (in an open source project) where some trig code was just slightly off for negative values because casting to int truncates, it doesn&#8217;t floor. That&#8217;s at least reasonably common knowledge, but it&#8217;s not that noticeable. To the point that there had been a comment at the top of the file describing how to reproduce the bug for a while <img src='http://silvermace.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
</channel>
</rss>

