<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=71.172.44.129</id>
		<title>explain xkcd - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=71.172.44.129"/>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php/Special:Contributions/71.172.44.129"/>
		<updated>2026-07-10T01:29:33Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://www.explainxkcd.com/wiki/index.php?title=217:_e_to_the_pi_Minus_pi&amp;diff=24417</id>
		<title>217: e to the pi Minus pi</title>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php?title=217:_e_to_the_pi_Minus_pi&amp;diff=24417"/>
				<updated>2013-01-03T16:49:44Z</updated>
		
		<summary type="html">&lt;p&gt;71.172.44.129: /* Explanation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{comic&lt;br /&gt;
| number    = 217&lt;br /&gt;
| date      = January 31, 2007&lt;br /&gt;
| title     = e to the pi Minus pi&lt;br /&gt;
| image     = e_to_the_pi_minus_pi.png&lt;br /&gt;
| imagesize = &lt;br /&gt;
| titletext = Also, I hear the 4th root of (9^2 + 19^2/22) is pi.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Explanation==&lt;br /&gt;
&amp;quot;e&amp;quot; is a mathematical constant that is about equal to 2.71828182846. π is about equal to 3.14159265359.&lt;br /&gt;
&lt;br /&gt;
Computers use &amp;quot;floating point&amp;quot; numbers to store decimals. As noted in the comic, e^π - π is 19.999099979. However, Hat Guy's teammates' algorithms truncate to 3 decimal digits — giving a result of 19.999. Yet the programmers thought that 19.999 should come out to 20 unless they had errors in their algorithms (they did not; 19.999 would be the correct result).&lt;br /&gt;
ACM is the Association for Computing Machinery; it sponsors the International Collegiate Programming Contest.&lt;br /&gt;
&lt;br /&gt;
:In the title text, another mathematical coincidence is presented. The 4th root of (9^2 + 19^2/22) is 3.1415926525, which is extremely close to pi (≈3.1415926535).&lt;br /&gt;
&lt;br /&gt;
==Transcript==&lt;br /&gt;
:Cueball: Hey, check it out: e^pi-pi is 19.999099979. That's weird.&lt;br /&gt;
:Black Hat: Yeah. That's how I got kicked out of the ACM in college.&lt;br /&gt;
:Cueball: . . . what?&lt;br /&gt;
:Black Hat: During a competition, I told the programmers on our team that e^pi-pi was a standard test of floating-point handlers--it would come out to 20 unless they had rounding errors.&lt;br /&gt;
:Cueball: That's awful.&lt;br /&gt;
:Black Hat: Yeah, they dug through half their algorithms looking for the bug before they figured it out.&lt;br /&gt;
&lt;br /&gt;
{{comic discussion}} &lt;br /&gt;
&amp;lt;!-- Include any categories below this line--&amp;gt;&lt;br /&gt;
[[Category:Comics featuring Cueball]]&lt;br /&gt;
[[Category:Comics featuring Black Hat]]&lt;br /&gt;
[[Category:Math]]&lt;/div&gt;</summary>
		<author><name>71.172.44.129</name></author>	</entry>

	</feed>