<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Floating Points on VAX and Alpha in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611990#M32640</link>
    <description>See also&lt;BR /&gt;&lt;A href="http://h71028.www7.hp.com/ERC/downloads/i64-floating-pt-wp.pdf" target="_blank"&gt;http://h71028.www7.hp.com/ERC/downloads/i64-floating-pt-wp.pdf&lt;/A&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 25 Aug 2005 11:38:11 GMT</pubDate>
    <dc:creator>Ian Miller.</dc:creator>
    <dc:date>2005-08-25T11:38:11Z</dc:date>
    <item>
      <title>Floating Points on VAX and Alpha</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611988#M32638</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;I am having problems with running the applications ported from VAX to Alpha that are using REAL*8 variables. My software mainly uses REAL*8 for time stamps with double precision on VAX. When I ported this to Alpha, all the time stamps values became non-understandable.&lt;BR /&gt;From what I read in literature is that VAX supports D-floating type values for double precision by default and those are not at all supported on Alpha because Alpha supports only G-floating types for double precision values.&lt;BR /&gt;I resolved one of the issue by changing "REAL*8 TIME" to "REAL*4 TIME(2)" and using only TIME(1) for software purposes. Now I have several other applications indicating the same problem and not being fixed by the above mentioned procedure.&lt;BR /&gt;Please help...</description>
      <pubDate>Thu, 25 Aug 2005 11:04:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611988#M32638</guid>
      <dc:creator>Vir Thanvi</dc:creator>
      <dc:date>2005-08-25T11:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Points on VAX and Alpha</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611989#M32639</link>
      <description>Floating point were not portable in the past, so IEEE some year ago proposed a new standard for all floating point.&lt;BR /&gt;VAX use its own binary format while alpha use IEEE standard floating point.&lt;BR /&gt;So, if you have to port source code without data, you can recompile on alpha with /IEE qualifier.&lt;BR /&gt;If you have to export some old data from may be a trouble. I know some language on alpha has VAX floating point emulator but not all format are supported and don't forget execution is slow because CPU can't use internal FP processor but has to call a little convertion routine.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Aug 2005 11:13:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611989#M32639</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-08-25T11:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Points on VAX and Alpha</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611990#M32640</link>
      <description>See also&lt;BR /&gt;&lt;A href="http://h71028.www7.hp.com/ERC/downloads/i64-floating-pt-wp.pdf" target="_blank"&gt;http://h71028.www7.hp.com/ERC/downloads/i64-floating-pt-wp.pdf&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Aug 2005 11:38:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611990#M32640</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-08-25T11:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Points on VAX and Alpha</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611991#M32641</link>
      <description>Vir,&lt;BR /&gt;&lt;BR /&gt;I suppose you are using FORTRAN. Please see this link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/82final/6443/6443pro_006.html#index_x_500" target="_blank"&gt;http://h71000.www7.hp.com/doc/82final/6443/6443pro_006.html#index_x_500&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It instruct you how to compile the program to use different types of floating point types. The unsuported floating point types are converted in supported in run-time and then used.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Thu, 25 Aug 2005 12:43:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611991#M32641</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-08-25T12:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Points on VAX and Alpha</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611992#M32642</link>
      <description>Vir,&lt;BR /&gt;&lt;BR /&gt;Are these timestamps returned as floating point values? Or, are they the OpenVMS standard 64-bit binary integers?&lt;BR /&gt;&lt;BR /&gt;If they are the binary integers, being stored in a floating variable may be a problem. The FORTRAN on the Alpha has a variety of language features that will be better at mapping the binary time stamps than the old FORTRAN practice of using REAL*8.&lt;BR /&gt;&lt;BR /&gt;Please let us know if this is the case, it will make the answers more precise.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Thu, 25 Aug 2005 14:19:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611992#M32642</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2005-08-25T14:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Points on VAX and Alpha</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611993#M32643</link>
      <description>Vir,&lt;BR /&gt;&lt;BR /&gt;  Please show us how a time value gets put into one of these variables. Floating point data types should only be used for floating point values. Any other use is asking for trouble.&lt;BR /&gt;&lt;BR /&gt;  If your time stamps are OpenVMS time values, then you can declare your variables as:&lt;BR /&gt;&lt;BR /&gt; INTEGER*8 TIME&lt;BR /&gt;&lt;BR /&gt;However, I'd recommend you make it more obvious that these aren't "ordinary" values, and make it easier to modify your code for different ways of representing times:&lt;BR /&gt;&lt;BR /&gt; STRUCTURE /TimeType/&lt;BR /&gt;    INTEGER*8 TimeValue ! may change&lt;BR /&gt; END SRUCTURE&lt;BR /&gt;&lt;BR /&gt; RECORD /TimeType/Time&lt;BR /&gt;&lt;BR /&gt; CALL SYS$GETIM(Time)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Aug 2005 22:45:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611993#M32643</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-08-25T22:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Points on VAX and Alpha</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611994#M32644</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Here are some pieces of info:&lt;BR /&gt;&lt;BR /&gt;1. The language being used is FORTRAN.&lt;BR /&gt;2. The time stamps are mainly Julian Seconds (e.g. 0.4631000E+10) from a particular day. These times are then converted to Calendar time (e.g. 2005/271/12:20:00.0)for further use in the code.&lt;BR /&gt;3. The time stamps are current julian time, and the times stamps on data read from a unformatted Sequential files that has been copied from VAX to Alpha. &lt;BR /&gt;&lt;BR /&gt;I have been testing with "CONVERT='VAXD'" in OPEN statments. It didn't seem to work. I tested by compiling the code with /FLOAT=D_FLOAT, and that didn't work either.&lt;BR /&gt;Please note that the code has been migrated from VAX to Alpha and the data files are also copied from VAX to Alpha.&lt;BR /&gt;If I run the code to create my final file on Alpha and then perform analysis on it, it is very easily accessible and results are fine. When I copy the final product to VAX and try to run the same analysis using the code on VAX, all the errors kick in.&lt;BR /&gt;&lt;BR /&gt;I hope this will help.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Vir</description>
      <pubDate>Thu, 25 Aug 2005 23:25:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611994#M32644</guid>
      <dc:creator>Vir Thanvi</dc:creator>
      <dc:date>2005-08-25T23:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Points on VAX and Alpha</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611995#M32645</link>
      <description>Vir,&lt;BR /&gt;&lt;BR /&gt;Take a look to the CVT$CONVERT_FLOAT run time routine. This routine can convert between different floating point types.&lt;BR /&gt;&lt;BR /&gt;$ HELP RTL_ROUTINES CVT$ CVT$CONVERT_FLOAT&lt;BR /&gt;&lt;BR /&gt;You can use this routine to convert yours time stamps when reading them from the file or (maybe better) you can write a program which convert all the time stamps in the file. Then you run this program as part of the VAX to Alpha port of data.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Fri, 26 Aug 2005 01:24:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611995#M32645</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-08-26T01:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Points on VAX and Alpha</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611996#M32646</link>
      <description>Vir,&lt;BR /&gt;I can't get if you are using floating point or integer number.&lt;BR /&gt;If you are using integers, there are NO ANY DIFFERENCE between Vax, Alpha or Itanium architecture.&lt;BR /&gt;Floating Point architecture is more complex.&lt;BR /&gt;In early '80 years, every h/w CPU used its own FP binary format. Main difference among various formats was how many bits were reserved by exponent.&lt;BR /&gt;IEEE proposed a new format early became standard for all platforms.&lt;BR /&gt;Because Vax architecture was designed before IEEE standard, it still uses DEC FP. Alpha &amp;amp; Itanium use IEEE.&lt;BR /&gt;There is little reason to still use Vax FP:&lt;BR /&gt;1) If you have to share information between Vax and Alpha/Itanium (e.g. cluster, exchange of data)&lt;BR /&gt;2) You cannot convert old data for some reason.&lt;BR /&gt; &lt;BR /&gt;However,&lt;BR /&gt;while you are migrating code, could you redesign it?&lt;BR /&gt;I think integer is best practice for Julian date use. And integer is really readable on any CPU.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Aug 2005 01:57:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-points-on-vax-and-alpha/m-p/3611996#M32646</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-08-26T01:57:45Z</dc:date>
    </item>
  </channel>
</rss>

