<?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: Question of the Week: How can computers calculate exponential math without overflow errors?</title>
	<atom:link href="http://blog.superuser.com/2012/07/30/question-of-the-week-how-can-computers-calculate-exponential-math-without-overflow-errors/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.superuser.com/2012/07/30/question-of-the-week-how-can-computers-calculate-exponential-math-without-overflow-errors/</link>
	<description>The Super User Community Blog</description>
	<lastBuildDate>Fri, 17 May 2013 10:41:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Fox</title>
		<link>http://blog.superuser.com/2012/07/30/question-of-the-week-how-can-computers-calculate-exponential-math-without-overflow-errors/#comment-27088</link>
		<dc:creator>Fox</dc:creator>
		<pubDate>Tue, 31 Jul 2012 20:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.superuser.com/?p=5037#comment-27088</guid>
		<description><![CDATA[&lt;p&gt;Whoops. I see this was answered in greater depth in the second half of the OP.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Whoops. I see this was answered in greater depth in the second half of the OP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fox</title>
		<link>http://blog.superuser.com/2012/07/30/question-of-the-week-how-can-computers-calculate-exponential-math-without-overflow-errors/#comment-27087</link>
		<dc:creator>Fox</dc:creator>
		<pubDate>Tue, 31 Jul 2012 20:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.superuser.com/?p=5037#comment-27087</guid>
		<description><![CDATA[&lt;p&gt;The calculations are handled by software (sometimes native data types) that can deal with numbers of arbitrary length. These are commonly referred to as &quot;BigDecimal&quot; or &quot;BigInteger&quot; (though I wouldn&#039;t be surprised if some large but bounded systems used these names as well).&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>The calculations are handled by software (sometimes native data types) that can deal with numbers of arbitrary length. These are commonly referred to as &#8220;BigDecimal&#8221; or &#8220;BigInteger&#8221; (though I wouldn&#8217;t be surprised if some large but bounded systems used these names as well).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://blog.superuser.com/2012/07/30/question-of-the-week-how-can-computers-calculate-exponential-math-without-overflow-errors/#comment-26861</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Mon, 30 Jul 2012 11:27:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.superuser.com/?p=5037#comment-26861</guid>
		<description><![CDATA[&lt;p&gt;@sblair is correct: This has nothing to do with Stack Overflow.&lt;/p&gt;

&lt;p&gt;The concern here is &lt;a href=&quot;http://en.wikipedia.org/wiki/Integer_overflow&quot; rel=&quot;nofollow&quot;&gt;integer overflow&lt;/a&gt;, since the maximum representable value of a 64-bit register is 2 ^ 64 - 1 = 18,446,744,073,709,551,615.&lt;/p&gt;

&lt;p&gt;In contrast, the result of 855 ^ 2753 would need 23,814 bits to be represented.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>@sblair is correct: This has nothing to do with Stack Overflow.</p>

<p>The concern here is <a href="http://en.wikipedia.org/wiki/Integer_overflow" rel="nofollow">integer overflow</a>, since the maximum representable value of a 64-bit register is 2 ^ 64 &#8211; 1 = 18,446,744,073,709,551,615.</p>

<p>In contrast, the result of 855 ^ 2753 would need 23,814 bits to be represented.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sblair</title>
		<link>http://blog.superuser.com/2012/07/30/question-of-the-week-how-can-computers-calculate-exponential-math-without-overflow-errors/#comment-26851</link>
		<dc:creator>sblair</dc:creator>
		<pubDate>Mon, 30 Jul 2012 09:45:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.superuser.com/?p=5037#comment-26851</guid>
		<description><![CDATA[&lt;p&gt;I don&#039;t think this has anything to do with a stack overflow. It is simply that the numerical range of 64-bit IEEE 754 floating point numbers isn&#039;t large enough to contain 855^2753. The &lt;a href=&quot;http://en.wikipedia.org/wiki/Floating_point#Range_of_floating-point_numbers&quot; rel=&quot;nofollow&quot;&gt;possible range is&lt;/a&gt; approximately −10^308 to +10^308.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t think this has anything to do with a stack overflow. It is simply that the numerical range of 64-bit IEEE 754 floating point numbers isn&#8217;t large enough to contain 855^2753. The <a href="http://en.wikipedia.org/wiki/Floating_point#Range_of_floating-point_numbers" rel="nofollow">possible range is</a> approximately −10^308 to +10^308.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Torleif</title>
		<link>http://blog.superuser.com/2012/07/30/question-of-the-week-how-can-computers-calculate-exponential-math-without-overflow-errors/#comment-26848</link>
		<dc:creator>Torleif</dc:creator>
		<pubDate>Mon, 30 Jul 2012 08:59:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.superuser.com/?p=5037#comment-26848</guid>
		<description><![CDATA[&lt;p&gt;For the beginning of this post, isn&#039;t &#039;stack overflow&#039; something else than the &#039;overflow&#039; mentioned here? As far as I know, &#039;Stack overflow&#039; is when there have been too many method calls (infinite call loop for example), while a regular overflow in this context is when you have a number which is too big for a 32/64-bit integer and it overflows, either by &#039;looping around&#039; or failing or whatever.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>For the beginning of this post, isn&#8217;t &#8216;stack overflow&#8217; something else than the &#8216;overflow&#8217; mentioned here? As far as I know, &#8216;Stack overflow&#8217; is when there have been too many method calls (infinite call loop for example), while a regular overflow in this context is when you have a number which is too big for a 32/64-bit integer and it overflows, either by &#8216;looping around&#8217; or failing or whatever.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  blog.superuser.com/2012/07/30/question-of-the-week-how-can-computers-calculate-exponential-math-without-overflow-errors/feed/ ) in 0.18791 seconds, on May 22nd, 2013 at 10:47 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on May 22nd, 2013 at 10:52 pm UTC -->