<?xml version="1.0" encoding="windows-1252"?>
<node id="1009421" title="Re^4: Irrational numbers" created="2012-12-18 11:04:43" updated="2012-12-18 11:04:43">
<type id="11">
note</type>
<author id="171588">
BrowserUk</author>
<data>
<field name="doctext">
&lt;blockquote&gt;&lt;i&gt;You are competing against something that the hardware can do in as little as one cpu cycle. &lt;/i&gt;&lt;/blockquote&gt;


&lt;p&gt;It is actually much worse than that these days. Most physical simulation games lend themselves very nicely to being programmed for GPUs, in which case he would be competing with not just 1 FP calc per cycle, but dozens or even hundreds of FP multiply-add calculations per cycle.


&lt;P&gt;And a single call to his closure-based lazy irrationals would take hundreds of cycles &lt;b&gt;per digit&lt;/b&gt;. 

&lt;P&gt;Even if he dropped into C and avoided Perl's sub call overheads; calculating each digit using a polynomial -- Taylor series or similar -- will still take dozens of cycles. 

&lt;p&gt;We are talking 2 or 3 (even 4!) orders of magnitude slower calculations in order to achieve accuracy that simply isn't required.

&lt;div class="pmsig"&gt;&lt;div class="pmsig-171588"&gt;
&lt;hr /&gt;
&lt;font size=1 &gt;
&lt;div&gt;With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'&lt;/div&gt;
&lt;div&gt;Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.&lt;/div&gt;
&lt;div&gt;"Science is about questioning the status quo. Questioning authority". &lt;/div&gt;
&lt;div&gt;In the absence of evidence, opinion is indistinguishable from prejudice.
&lt;p align=right&gt; [http://thebottomline.cpaaustralia.com.au/|RIP Neil Armstrong]&lt;/p&gt;&lt;/div&gt;
&lt;/font&gt;

&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1009200</field>
<field name="parent_node">
1009390</field>
</data>
</node>
