<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[numerisches Problem]]></title><description><![CDATA[<p>Hallo,</p>
<p>habe ein kleines Problem mit einem numerischen Fehler.</p>
<p>alpha[3]=(-xi1-xi2+2*xi)/(d*d)</p>
<p>Diese Zeile ergibt in einer alten Programmversion 0.<br />
In einer neuen 2.8e-15, also nur fast null.<br />
Habe die Einzelwerte vor der Berechnung ausgegeben, sie sind absolut identisch.</p>
<p>Was für Ursachen kann dies haben??<br />
xi1, xi2, xi und 1/d^2 sind wie gesagt identisch....<br />
(mit precision 30 ausgegeben, alles sind doubles)</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/267207/numerisches-problem</link><generator>RSS for Node</generator><lastBuildDate>Wed, 02 Sep 2026 15:12:20 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/267207.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 20 May 2010 13:40:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to numerisches Problem on Thu, 20 May 2010 13:40:23 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>habe ein kleines Problem mit einem numerischen Fehler.</p>
<p>alpha[3]=(-xi1-xi2+2*xi)/(d*d)</p>
<p>Diese Zeile ergibt in einer alten Programmversion 0.<br />
In einer neuen 2.8e-15, also nur fast null.<br />
Habe die Einzelwerte vor der Berechnung ausgegeben, sie sind absolut identisch.</p>
<p>Was für Ursachen kann dies haben??<br />
xi1, xi2, xi und 1/d^2 sind wie gesagt identisch....<br />
(mit precision 30 ausgegeben, alles sind doubles)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1900150</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1900150</guid><dc:creator><![CDATA[blablablub]]></dc:creator><pubDate>Thu, 20 May 2010 13:40:23 GMT</pubDate></item><item><title><![CDATA[Reply to numerisches Problem on Thu, 20 May 2010 13:50:31 GMT]]></title><description><![CDATA[<p>koonnte das problem eingrenzen.<br />
enorm absurder fehler:</p>
<p>double bla = xi(x[i][j]);</p>
<p>std::cout&lt;&lt;(-xi1-xi2+2<em>bla)&lt;&lt; std::endl;<br />
std::cout&lt;&lt;(-xi1-xi2+2</em> xi(x[i][j]))&lt;&lt; std::endl;</p>
<p>die eine Zeile ergibt 0 die andere 2.8e-15</p>
<p>WTTTTTTTTTTTTTTTTTTTTFFFFFFFFFFFF</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1900164</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1900164</guid><dc:creator><![CDATA[moeeeeeeeeeeeee]]></dc:creator><pubDate>Thu, 20 May 2010 13:50:31 GMT</pubDate></item><item><title><![CDATA[Reply to numerisches Problem on Thu, 20 May 2010 13:53:41 GMT]]></title><description><![CDATA[<p>Kannst du mal ein compilierbares Beispiel gaben, an dem man den &quot;Fehler&quot; nachvollziehen kann?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1900169</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1900169</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Thu, 20 May 2010 13:53:41 GMT</pubDate></item><item><title><![CDATA[Reply to numerisches Problem on Thu, 20 May 2010 17:43:23 GMT]]></title><description><![CDATA[<p>Was für einen Compiler benutzt du?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1900331</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1900331</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Thu, 20 May 2010 17:43:23 GMT</pubDate></item></channel></rss>