<?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: 64-bit multiplication pitfalls</title>
	<atom:link href="http://blog.mozilla.org/nfroyd/2013/01/14/64-bit-multiplication-pitfalls/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.org/nfroyd/2013/01/14/64-bit-multiplication-pitfalls/</link>
	<description>Improving performance at Mozilla</description>
	<lastBuildDate>Sat, 20 Apr 2013 10:00:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Zack</title>
		<link>http://blog.mozilla.org/nfroyd/2013/01/14/64-bit-multiplication-pitfalls/#comment-710</link>
		<dc:creator>Zack</dc:creator>
		<pubDate>Mon, 14 Jan 2013 18:50:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/nfroyd/?p=117#comment-710</guid>
		<description><![CDATA[You should write forced conversions among primitive numeric types using the &quot;old-fashioned&quot; functional cast notation, &lt;code&gt;int64_t(x)&lt;/code&gt;.  This is because although &lt;code&gt;static_cast&lt;/code&gt; is equivalent to an old-style cast for primitive numeric types, &lt;i&gt;even experienced C++ programmers will &lt;b&gt;think&lt;/b&gt; it does something subtly different&lt;/i&gt; for at least a moment and then have to remind themselves it doesn&#039;t.  Smoothing away all such tiny speedbumps is the difference between code which can merely be understood and code which is pleasant to read.]]></description>
		<content:encoded><![CDATA[<p>You should write forced conversions among primitive numeric types using the &#8220;old-fashioned&#8221; functional cast notation, <code>int64_t(x)</code>.  This is because although <code>static_cast</code> is equivalent to an old-style cast for primitive numeric types, <i>even experienced C++ programmers will <b>think</b> it does something subtly different</i> for at least a moment and then have to remind themselves it doesn&#8217;t.  Smoothing away all such tiny speedbumps is the difference between code which can merely be understood and code which is pleasant to read.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
