<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Finding cause of IEEE errors]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=378</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=378&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Finding cause of IEEE errors.]]></description>
		<lastBuildDate>Tue, 14 Oct 2014 21:46:48 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Finding cause of IEEE errors]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1554#p1554</link>
			<description><![CDATA[<p>You&#039;ll need to instruct the Fortran runtime library to trap said errors.&nbsp; To enable trapping these errors, first open the Project Options window by clicking &quot;Options&quot; in the Project menu.&nbsp; Next, click the &quot;Compiler Flags&quot; tab.&nbsp; Add the following to the Fortran flags:</p><div class="codebox"><pre><code>-ffpe-trap=invalid,zero</code></pre></div><p>Note that there are no spaces in the above flag, including after the comma.&nbsp; Click Ok in the Project Options window.&nbsp; Next, click &quot;Clean&quot; in the Build menu, and finally &quot;Build Now!&quot; in the Build menu.</p><p>The above should cause the runtime library to stop when the errors are encountered and produce a backtrace, letting you know where the function occurred.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Tue, 14 Oct 2014 21:46:48 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1554#p1554</guid>
		</item>
		<item>
			<title><![CDATA[Finding cause of IEEE errors]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1553#p1553</link>
			<description><![CDATA[<p>At the end of runs of my program I get the message<br />&nbsp; &quot;Note: The following floating-point exceptions are signaling: IEEE_INVALID_FLAG IEEE_DIVIDE_BY_ZERO&quot;.</p><p>How can I find out what program statement(s) cause the exceptions?</p>]]></description>
			<author><![CDATA[null@example.com (dstraley)]]></author>
			<pubDate>Tue, 14 Oct 2014 21:06:22 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1553#p1553</guid>
		</item>
	</channel>
</rss>
