<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — problems with double precision functions]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=213</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=213&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in problems with double precision functions.]]></description>
		<lastBuildDate>Tue, 11 Jun 2013 18:42:34 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: problems with double precision functions]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=832#p832</link>
			<description><![CDATA[<p>It appears that a fresh installation of ver 1.44 in windows XP eliminated the problem.</p>]]></description>
			<author><![CDATA[null@example.com (jbarbaste)]]></author>
			<pubDate>Tue, 11 Jun 2013 18:42:34 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=832#p832</guid>
		</item>
		<item>
			<title><![CDATA[Re: problems with double precision functions]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=830#p830</link>
			<description><![CDATA[<p>Okay, I&#039;ll have a look at it on Windows XP to see if I can replicate the issue.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Sat, 08 Jun 2013 15:10:47 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=830#p830</guid>
		</item>
		<item>
			<title><![CDATA[Re: problems with double precision functions]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=829#p829</link>
			<description><![CDATA[<p>No. . I dont think so. . .However this program was recompile with no issues with this same compiler ( ver 44 ) in windows 7. The issues that I discuss occur under windows xp.</p>]]></description>
			<author><![CDATA[null@example.com (jbarbaste)]]></author>
			<pubDate>Sat, 08 Jun 2013 12:20:45 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=829#p829</guid>
		</item>
		<item>
			<title><![CDATA[Re: problems with double precision functions]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=828#p828</link>
			<description><![CDATA[<p>Interesting...&nbsp; I didn&#039;t see the warning under 1.44 myself.&nbsp; Additionally, 1.43 and 1.44 should be using the same version of the Fortran compiler.&nbsp; I also don&#039;t see the issue under the upcoming 1.45, currently in testing. </p><p>I&#039;ll keep checking to see if I can replicate the issue.&nbsp; Did you set any interesting compiler flags by chance?</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 07 Jun 2013 22:33:19 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=828#p828</guid>
		</item>
		<item>
			<title><![CDATA[Re: problems with double precision functions]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=827#p827</link>
			<description><![CDATA[<p>no problems with build 1.43&nbsp; 1191. Program compiles &#039;cleanly&#039;.</p>]]></description>
			<author><![CDATA[null@example.com (jbarbaste)]]></author>
			<pubDate>Fri, 07 Jun 2013 21:13:36 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=827#p827</guid>
		</item>
		<item>
			<title><![CDATA[Re: problems with double precision functions]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=826#p826</link>
			<description><![CDATA[<p>i am using 1.44.</p>]]></description>
			<author><![CDATA[null@example.com (jbarbaste)]]></author>
			<pubDate>Fri, 07 Jun 2013 18:29:46 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=826#p826</guid>
		</item>
		<item>
			<title><![CDATA[Re: problems with double precision functions]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=825#p825</link>
			<description><![CDATA[<p>In &quot;Build Status&quot; tab, it is noted that the arguments&nbsp; for dcos, dsin, datan2, and dsqrt are not &#039;double precision&#039;, even though they are declared as double precision (real*8).</p>]]></description>
			<author><![CDATA[null@example.com (jbarbaste)]]></author>
			<pubDate>Fri, 07 Jun 2013 18:28:27 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=825#p825</guid>
		</item>
		<item>
			<title><![CDATA[Re: problems with double precision functions]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=824#p824</link>
			<description><![CDATA[<p>Where in the code are you seeing a problem?&nbsp; I spot-checked the results for <em>dsqrt</em> and <em>datan2</em>, and I didn&#039;t see a problem.&nbsp; I just want to understand what you meant in your original post.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 07 Jun 2013 17:41:52 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=824#p824</guid>
		</item>
		<item>
			<title><![CDATA[Re: problems with double precision functions]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=823#p823</link>
			<description><![CDATA[<p>C&nbsp; &nbsp; &nbsp;Last change:&nbsp; SC&nbsp; &nbsp;19 Feb 2013&nbsp; &nbsp; 6:11 pm</p><p>&nbsp; &nbsp; &nbsp; program Mis_Brg</p><p>&nbsp; &nbsp; &nbsp; implicit none<br />&nbsp; &nbsp; &nbsp; real*8 pi,second,distance,latitude,departure<br />&nbsp; &nbsp; &nbsp; real*8 radian_bearing,Missing_bearing,missing_distance<br />&nbsp; &nbsp; &nbsp; real*8 Sum_lat,sum_dep,s_mis<br />&nbsp; &nbsp; &nbsp; real*8 easting_start,northing_start,easting,northing</p><p>&nbsp; &nbsp; &nbsp; parameter (easting_start=5000.0d0,northing_start=5000.0d0)</p><br /><p>&nbsp; &nbsp; &nbsp; integer*4 degree,minute,d_mis,m_mis</p><p>&nbsp; &nbsp; &nbsp; open(unit=9,file=&#039;brgdist.d95&#039;)<br />&nbsp; &nbsp; &nbsp; open(unit=11,file=&#039;results.d95&#039;)&nbsp; <br />&nbsp; &nbsp; &nbsp; open(unit=13,file=&#039;coordinates.d95&#039;)</p><br /><p>&nbsp; &nbsp; &nbsp; sum_lat=0.0d0<br />&nbsp; &nbsp; &nbsp; sum_dep=0.0d0<br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; pi=datan(1.0d0)*4.0d0</p><p>&nbsp; &nbsp; &nbsp; write(11,300)<br /> 300&nbsp; format(///3x,&#039;bearing&#039;,8x,&#039;distance&#039;,11x,&#039;latitude&#039;,11x<br />&nbsp; &nbsp; &nbsp;&amp; ,&#039;departure&#039;/)</p><br /><p>&nbsp; &nbsp; &nbsp; easting=easting_start<br />&nbsp; &nbsp; &nbsp; northing=northing_start</p><p>&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; write(13,*)easting,northing</p><br /><p> 400&nbsp; continue</p><p>&nbsp; &nbsp; &nbsp; read (9,*,end=500)degree,minute,second,distance</p><p>&nbsp; &nbsp; &nbsp; radian_bearing=(dble(degree)+dble(minute)/60.0d0+second/3600.0d0)<br />&nbsp; &nbsp; &nbsp;&amp; *pi/180.0d0</p><p>&nbsp; &nbsp; &nbsp; latitude=distance*dcos(radian_bearing)<br />&nbsp; &nbsp; &nbsp; departure=distance*dsin(radian_bearing)<br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; sum_lat=sum_lat+latitude<br />&nbsp; &nbsp; &nbsp; sum_dep=sum_dep+departure</p><br /><p>&nbsp; &nbsp; &nbsp; easting=easting+departure</p><p>&nbsp; &nbsp; &nbsp; northing=northing+latitude</p><br /><p>&nbsp; &nbsp; &nbsp; write(11,111)degree,minute,second,distance,<br />&nbsp; &nbsp; &nbsp;&amp; latitude,departure</p><p> 111&nbsp; format(/i4,i3.2,f6.2,f12.3,f23.14,f20.14)&nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; </p><p>&nbsp; &nbsp; &nbsp; write(13,*)easting,northing</p><p>&nbsp; &nbsp; &nbsp; Go to 400</p><p> 500&nbsp; Missing_bearing=datan2(sum_dep,sum_lat)<br />&nbsp; &nbsp; &nbsp; if(Missing_bearing&lt;0.0d0)<br />&nbsp; &nbsp; &nbsp;&amp; Missing_bearing=Missing_bearing+2.0d0*pi<br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; call rad_brg_to_dms_brg(pi,Missing_bearing,d_mis,m_mis,s_mis) </p><p>&nbsp; &nbsp; &nbsp; missing_distance=dsqrt(sum_lat**2+sum_dep**2)</p><br /><p>&nbsp; &nbsp; &nbsp; WRITE(13,&#039;(/)&#039;)<br />&nbsp; &nbsp; &nbsp; write(13,*)easting-easting_start,northing-northing_start</p><br /><p>&nbsp; &nbsp; &nbsp; write(11,&#039;(///f15.10)&#039;)Missing_bearing<br />&nbsp; &nbsp; &nbsp; write(11,&#039;(i5,i3.2,f7.3)&#039;)d_mis,m_mis,s_mis<br />&nbsp; &nbsp; &nbsp; write(11,&#039;(f15.6)&#039;)missing_distance<br />&nbsp; &nbsp; &nbsp; stop<br />&nbsp; &nbsp; &nbsp; end program Mis_Brg</p><br /><p>&nbsp; &nbsp; &nbsp; subroutine rad_brg_to_dms_brg(pi,rad_brg,d,m,s)<br />&nbsp; &nbsp; &nbsp; implicit none<br />&nbsp; &nbsp; &nbsp; real*8 pi,s,rad_brg,dec_brg,minute<br />&nbsp; &nbsp; &nbsp; integer*4 d,m</p><p>&nbsp; &nbsp; &nbsp; dec_brg=rad_brg*180.0d0/pi</p><p>&nbsp; &nbsp; &nbsp; d=dec_brg<br />&nbsp; &nbsp; &nbsp; minute=(dec_brg-dble(d))*60.0d0<br />&nbsp; &nbsp; &nbsp; m=minute<br />&nbsp; &nbsp; &nbsp; s=(minute-dble(m))*60.0d0</p><p>&nbsp; &nbsp; &nbsp; return<br />&nbsp; &nbsp; &nbsp; end subroutine rad_brg_to_dms_brg</p>]]></description>
			<author><![CDATA[null@example.com (jbarbaste)]]></author>
			<pubDate>Fri, 07 Jun 2013 16:54:06 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=823#p823</guid>
		</item>
		<item>
			<title><![CDATA[Re: problems with double precision functions]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=822#p822</link>
			<description><![CDATA[<p>Could you post a short snippet of offending code?&nbsp; I&#039;m not seeing the issue with a simple example I&#039;ve tried.&nbsp; Are you on the latest version of Simply Fortran (1.44)?</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 07 Jun 2013 16:31:08 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=822#p822</guid>
		</item>
		<item>
			<title><![CDATA[problems with double precision functions]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=820#p820</link>
			<description><![CDATA[<p>I have found that the double precision functions such as dsin, dcos ,dsqrt, etc does not recognise the double precision arguments even when the arguments are explicitly declared double precision.</p>]]></description>
			<author><![CDATA[null@example.com (jbarbaste)]]></author>
			<pubDate>Fri, 07 Jun 2013 12:01:01 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=820#p820</guid>
		</item>
	</channel>
</rss>
