<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>VR World &#187; floating point</title>
	<atom:link href="http://www.vrworld.com/tag/floating-point/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vrworld.com</link>
	<description></description>
	<lastBuildDate>Fri, 10 Apr 2015 07:54:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>The Evils of Floating Point, and the Joys of Unum</title>
		<link>http://www.vrworld.com/2015/03/24/the-evils-of-floating-point-and-the-joys-of-unum/</link>
		<comments>http://www.vrworld.com/2015/03/24/the-evils-of-floating-point-and-the-joys-of-unum/#comments</comments>
		<pubDate>Tue, 24 Mar 2015 03:46:54 +0000</pubDate>
		<dc:creator><![CDATA[Brandon Shutt]]></dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Supercomputing Frontiers 2015]]></category>
		<category><![CDATA[floating point]]></category>
		<category><![CDATA[John Gustafson]]></category>
		<category><![CDATA[Universal numbers]]></category>
		<category><![CDATA[unums]]></category>

		<guid isPermaLink="false">http://www.vrworld.com/?p=50682</guid>
		<description><![CDATA[<p>Universal Numbers (Unum) and floating points are complicated. Here's an explainer on the subject. </p>
<p>The post <a rel="nofollow" href="http://www.vrworld.com/2015/03/24/the-evils-of-floating-point-and-the-joys-of-unum/">The Evils of Floating Point, and the Joys of Unum</a> appeared first on <a rel="nofollow" href="http://www.vrworld.com">VR World</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p><img width="3600" height="2700" src="http://cdn.vrworld.com/wp-content/uploads/2015/03/coolness.jpg" class="attachment-post-thumbnail wp-post-image" alt="coolness" /></p><p>It may come as a surprise to many that the way computers handle numbers is not very accurate. Indeed, it can be said that error is built into the very foundation of digital computers, and while the end user often does not see the result of these errors, they can be very problematic for programmers, scientists, engineers, and calculation intense industries such as money management and military operations.</p>
<p>At the recent <a href="www.vrworld.com/category/event/supercomputing-frontiers-2015/">Supercomputing Frontiers 2015</a> conference in Singapore, computer scientist John Gustafson outlined the problems with floating points in his <a href="http://www.vrworld.com/2015/03/17/supercomputing-frontiers-2015-the-101x102-problem/">keynote</a> and later in an <a href="http://www.vrworld.com/2015/03/19/error-free-computing-unums-save-both-real-and-virtual-battles/">interview</a>. Given the complexity &#8212; and severity &#8212; of the problem, it&#8217;s worth taking a second in-depth look at the issue.</p>
<h2><strong>The Problem</strong></h2>
<p>Developer Richard Harris, who wrote a series of articles on the dangers of floating point, <a href="http://www.citeulike.org/user/bastibarry1/article/11060101">said in one post</a>, &#8220;The dragon of numerical error is not often roused from his slumber, but if incautiously approached he will occasionally inflict catastrophic damage upon the unwary programmer&#8217;s calculations. So much so that some programmers, having chanced upon him in the forests of IEEE 754 floating point arithmetic, advise their fellows against travelling in that fair land.&#8221;</p>
<p>Because computers &#8211; which are machines of precision and exactness &#8211; are often made to deal with unprecise and inexact numbers (such as pi, and irrationals), methods must be devised to compensate for computational error, and to make the end result as close to the correct answer as possible. One solution has been devised that is still in use today: floating point. Floating point is a method similar to scientific notation, which uses a decimal point, sign bit, and a number of exact digits to represent a number.</p>
<p>Since The IEEE Standard for Floating-Point Arithmetic was published in 1985, this standard has come to dominate the mathematical methods used by hardware and software engineers for the basic operations computers perform whenever running an application. Ideally, a one-size-fits-all standard such as this one would minimize error and promote uniformity of results across a broad spectrum of hardware.</p>
<p>Unfortunately, this has not been the practical result. Different processors and software packages, designed to handle floating point operations, often result in slightly different answers, due to rounding errors, and differing orders of operation.</p>
<p>One way that programmers often compensate is to use as many digits as possible to represent a number. In modern computers, this means that 32 &#8211; 64 bits of data are almost always used to represent a single floating point number. While modern computers are also very fast at calculations, this many bits must be stored and retrieved from memory, causing significant latency in calculations.</p>
<p>Furthermore, due to compounding error, traditional properties of algebra &#8211; such as the commutative and associative property &#8211; do not necessarily apply to floating point operations. In other words, (a + b) + c =/= a + (b + c), nor does c * (a + b) = c*a + c*b.</p>
<p>In the case of floating point, using these differing approaches often yields dissimilar results.</p>
<p>The post <a rel="nofollow" href="http://www.vrworld.com/2015/03/24/the-evils-of-floating-point-and-the-joys-of-unum/">The Evils of Floating Point, and the Joys of Unum</a> appeared first on <a rel="nofollow" href="http://www.vrworld.com">VR World</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vrworld.com/2015/03/24/the-evils-of-floating-point-and-the-joys-of-unum/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Error-Free Computing: Unums Save Both Real and Virtual Battles</title>
		<link>http://www.vrworld.com/2015/03/19/error-free-computing-unums-save-both-real-and-virtual-battles/</link>
		<comments>http://www.vrworld.com/2015/03/19/error-free-computing-unums-save-both-real-and-virtual-battles/#comments</comments>
		<pubDate>Thu, 19 Mar 2015 05:45:31 +0000</pubDate>
		<dc:creator><![CDATA[Sam Reynolds]]></dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[Exclusive]]></category>
		<category><![CDATA[Interviews]]></category>
		<category><![CDATA[Supercomputing Frontiers 2015]]></category>
		<category><![CDATA[floating point]]></category>
		<category><![CDATA[High Performance Computing]]></category>
		<category><![CDATA[HPC]]></category>
		<category><![CDATA[integer]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[John Gustafson]]></category>
		<category><![CDATA[Universal numbers]]></category>
		<category><![CDATA[unums]]></category>

		<guid isPermaLink="false">http://www.vrworld.com/?p=50360</guid>
		<description><![CDATA[<p>VR World chats with John Gustafson about the challenges of implementing universal numbers into hardware, and the benefits they offer computing.  </p>
<p>The post <a rel="nofollow" href="http://www.vrworld.com/2015/03/19/error-free-computing-unums-save-both-real-and-virtual-battles/">Error-Free Computing: Unums Save Both Real and Virtual Battles</a> appeared first on <a rel="nofollow" href="http://www.vrworld.com">VR World</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p><img width="640" height="360" src="http://cdn.vrworld.com/wp-content/uploads/2015/03/cpu_close_up.png" class="attachment-post-thumbnail wp-post-image" alt="cpu_close_up" /></p><p>To many people, the <a href="http://en.wikipedia.org/wiki/Floating_point">floating point</a>&#8211;<a href="http://en.wikipedia.org/wiki/Unum_%28number_format%29">universal number</a> debate is something extraneous: an academic issue that involves computer scientists, engineers, and hardware manufacturers.</p>
<p>But as <a href="http://en.wikipedia.org/wiki/John_Gustafson_%28scientist%29">John Gustafson</a> said <a href="http://www.vrworld.com/2015/03/17/supercomputing-frontiers-2015-the-101x102-problem/">during his keynote</a> at the <a href="http://www.vrworld.com/category/event/supercomputing-frontiers-2015/">Supercomputing Frontiers 2015</a> conference on Tuesday, the inaccuracies of floating point estimates have real world implications. They can be deadly both in the real sense  &#8212; with missile defense batteries mis-calculating intercept times &#8212; or as Gustafson explained they can also lose battles in a virtual sense.</p>
<p>During intense battles in multiplayer games, floating point estimates would give different answers for different players. The calculation of if a players’ shot would be a lethal headshot &#8212; or a frustrating miss &#8212; would have slightly different answers on different platforms. In order to get reliable, reproducible results in the event of discrepancy the software would need to switch back to integers.</p>
<p>In order to have a better understanding of the benefits of unums, and the challenges of implementing them into hardware, the <i>VR World</i> team spoke with Gustafson on the sidelines of the Supercomputing Frontiers 2015 conference in Singapore to learn more.</p>
<div id="attachment_50361" style="width: 510px" class="wp-caption alignleft"><a href="http://cdn.vrworld.com/wp-content/uploads/2015/03/VRW-Gustafson-interview.jpg" rel="lightbox-0"><img class="wp-image-50361 size-full" src="http://cdn.vrworld.com/wp-content/uploads/2015/03/VRW-Gustafson-interview-e1426743497115.jpg" alt="VRW-Gustafson-interview" width="500" height="375" /></a><p class="wp-caption-text">The VR World team interviews Dr. Gustafson</p></div>
<p><b><i>VR World:</i></b><b> You mentioned in your keynote that the implementation of Unum is challenging &#8212; in the words of one unnamed Intel executive ‘you can’t boil the ocean’. Why is this?</b></p>
<p><b>John Gustafson: </b>What he’s saying is that you can’t change the world. All you have is <a href="http://en.wikipedia.org/wiki/IEEE_floating_point">IEEE floats</a>. That’s the standard. ‘You can’t add a new number type, that’s not going to happen’ is what he said.</p>
<p><b><i>VRW</i></b><b>: How would you categorize the feedback you’ve gotten from CPU vendors about implementing unums?</b></p>
<p><b>JG: </b>People at AMD also didn’t get it. That was a kind of different opposition. They just didn’t see that I could save them so much power, electricity and bandwidth. Maybe it just looked too ambitious to them.</p>
<p>I’m not worried about what the hardware people think. I know they are going to hate it. They’ll have to build it, re-design circuits and all of that. I’m  more interested in everyone else.</p>
<p><b><i>VRW</i></b><b>: What’s the cost of keeping the existing floating point system, versus implementing Unums? What’s the cost of transitioning hardware to support this, versus the cost of errors in everyday life?</b></p>
<p><b>JG: </b>Remember: everything you can do with floats you can do with Unums. They are a subset. It’s a choice between one or the other; if it were I think it would never get off the ground. But if you can do everything you can do now if you have Unums, and you can also do other things, you can then incrementally work your way into them.</p>
<p>The other thing is right now we have to deal with at least two, or three, different precisions. Half precision is now out there. Nvidia has got the half precision out there in hardware as a native type, and single precision as well as double precision are everywhere. Quad precision is not supported by anyone’s hardware… I keep watching to see if it’s going to pop up.</p>
<p>But we already have to manage two, or three, different sizes.</p>
<p>I say replace it with one. And the hardware will let that slide continuously from all different sizes. It will simplify things so it may be cheaper and smaller on chip to do it that way then to have a bunch of single precision units and double precision units. That’s the way they do it now. They have to build separate hardware. Which is very wasteful.</p>
<p>The post <a rel="nofollow" href="http://www.vrworld.com/2015/03/19/error-free-computing-unums-save-both-real-and-virtual-battles/">Error-Free Computing: Unums Save Both Real and Virtual Battles</a> appeared first on <a rel="nofollow" href="http://www.vrworld.com">VR World</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vrworld.com/2015/03/19/error-free-computing-unums-save-both-real-and-virtual-battles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Supercomputing Frontiers 2015: The 101&#215;10^2 Problem. Solution: Unums</title>
		<link>http://www.vrworld.com/2015/03/17/supercomputing-frontiers-2015-the-101x102-problem/</link>
		<comments>http://www.vrworld.com/2015/03/17/supercomputing-frontiers-2015-the-101x102-problem/#comments</comments>
		<pubDate>Tue, 17 Mar 2015 13:31:47 +0000</pubDate>
		<dc:creator><![CDATA[Sam Reynolds]]></dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Space and Science]]></category>
		<category><![CDATA[Supercomputing Frontiers 2015]]></category>
		<category><![CDATA[floating point]]></category>
		<category><![CDATA[IEEE 754]]></category>
		<category><![CDATA[John Gustafson]]></category>
		<category><![CDATA[Universal numbers]]></category>
		<category><![CDATA[unums]]></category>

		<guid isPermaLink="false">http://www.vrworld.com/?p=50121</guid>
		<description><![CDATA[<p>We’ve almost reached the acceptance limit for floating point rounding errors. What’s the future?  One potential solution was explained at Supercomputing Frontiers 2015.</p>
<p>The post <a rel="nofollow" href="http://www.vrworld.com/2015/03/17/supercomputing-frontiers-2015-the-101x102-problem/">Supercomputing Frontiers 2015: The 101&#215;10^2 Problem. Solution: Unums</a> appeared first on <a rel="nofollow" href="http://www.vrworld.com">VR World</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p><img width="638" height="479" src="http://cdn.vrworld.com/wp-content/uploads/2015/03/unum-computing-an-energy-efficient-and-massively-parallel-approach-to-valid-numerics-12-638.jpg" class="attachment-post-thumbnail wp-post-image" alt="unum-computing-an-energy-efficient-and-massively-parallel-approach-to-valid-numerics-12-638" /></p><p>As the processing power of the world’s fastest high-performance computers gets faster and faster, we eventually need to think about an era after the processing speed arms race, argued John Gustafson at the Supercomputing Frontiers 2015 conference in Singapore on Tuesday.</p>
<p>Gustafson said that the big challenge for the future of HPC is not necessarily faster processors, but more accurate processors. Using the metaphor of HPC doesn’t need a faster horse, but rather start thinking about a world “post-horse” era, Gustafson proposed moving beyond floating point rounding numbers &#8212; which he described as having become sloppy &#8212; to something called the universal number or “Unum”.</p>
<p>Unum, as Gustafson first proposed in his book <a href="http://www.crcpress.com/product/isbn/9781482239867"><i>The End of Error</i>,</a> is a new way to represent numbers that’s more accurate than the floating point estimate found in the IEEE 754 standard which Gustafson hopes it would ultimately replace. The IEEE 754 standard is based on the 101&#215;10^2 floating point (which adds up to 64-bits) first introduced by L. Torres y Quevedo in Madrid in 1914.</p>
<p>Unums, which are 29-bits, contain metadata that allows for a longer and more in-depth answer rather than the rounding that floating point integers contain &#8212; including the overflow and underflow that goes along with it. Unums also obey algebraic laws and are safe to parallelize. With the mathematically complex problems that comes with the parallelism and sheer power found in modern HPC clusters, complex physics equations are reduced to mere “guesswork”.</p>
<p>The use of rounding can lead to disastrous results. Gustafson gave the example of how during the first Gulf War the 24-bit integer clock used in the Patriot missile batteries miscalculated the approach of a Scud missile by 0.34 seconds &#8212; killing 28 and injuring 100. The reason why the missile launched late is because of integer crowding. This came from the inaccuracy of the computer’s system clock due to it multiplying the time from milliseconds to seconds by multiplying 1/10. The 1/10 value was chopped after 24 decimal points. As the system had been on for 100 hours, the continued decimal chopping made the system continually less accurate. When dealing with missiles that travel hundreds of meters per second, this inaccuracy is unacceptable.</p>
<p>The other advantage of Unums is that due to their shorter float size, they take less external memory bandwidth to process. For a data center the largest single line item is its power bill. If power can be saved for the lowest level, for things like RAM calls, this would add up substantially in a massive data center. The US Department of Energy wants vendors to be able to produce an exascale system by 2019-2020 that uses less than 20 MW and to do this power savings has to happen everywhere.</p>
<p>Gustafson said that the next steps to get Unums to go “mainstream” is to convert the <a href="http://www.wolfram.com/mathematica/">Mathematica </a>C library into Unums. After that a strictly Unum compatible FPGA will need to be created. These are the first steps to the long road to a fully Unum compatible CPU.</p>
<p>For more on Unums, Gustafson’s book <a href="http://www.crcpress.com/product/isbn/9781482239867"><i>The End of Errors</i></a> is worth a read.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="http://www.vrworld.com/2015/03/17/supercomputing-frontiers-2015-the-101x102-problem/">Supercomputing Frontiers 2015: The 101&#215;10^2 Problem. Solution: Unums</a> appeared first on <a rel="nofollow" href="http://www.vrworld.com">VR World</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vrworld.com/2015/03/17/supercomputing-frontiers-2015-the-101x102-problem/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Content Delivery Network via Amazon Web Services: CloudFront: cdn.vrworld.com

 Served from: www.vrworld.com @ 2015-04-10 16:21:36 by W3 Total Cache -->