rskey's Calculator forensics in Fortran
|
06-30-2014, 12:44 PM
(This post was last modified: 03-13-2016 02:11 PM by HP67.)
Post: #1
|
|||
|
|||
rskey's Calculator forensics in Fortran
This page http://www.rskey.org/~mwsebastian/miscprj/radians.htm made me wonder what the various versions of Fortran I have would produce for the calculator forensics test. Using the info there as a basic guide I prepared this small piece of Fortran code:
Code: PROGRAM foren For VAX/VMS I used this piece of F66-conforming code for the F77 compiler: Code:
For IBM OS/360 FORTRAN G & H I used this piece of FORTRAN IV code which is very similar to the VAX code except I had to use the FORTRAN IV function subroutine names for two trig functions whereas on the VAX the F77 compiler was able to either find the right function or use the one from F66, however it is implemented. Code:
Here are the results with the Fortran compilers I have: Sorry for the bad alignment. For whatever reason code tags don't help much and I can't set the font to a fixed with font so although it looks almost correct in preview/posting mode once it is posted it doesn't. Code:
This is the version info for the various compilers: Code:
I don't know what I expected to find but I was surprised to see that Intel's Fortran produces the same results as the open64 suite. I have not benchmarked big programs but Intel's compiler is supposedly to beat anything else pretty consistently for runtimes on Intel hardware. If that is true then it means they really did some important work on the base open64 code. I have other compilers on other hardware platforms. I'll add the info to this thread when I get a chance. The only thing I have left is for SOLARIS SPARC. Will possibly update that later. It ain't OVER 'till it's 2 PICK |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
rskey's Calculator forensics in Fortran - HP67 - 06-30-2014 12:44 PM
RE: rskey's Calculator forensics in Fortran - Paul Berger (Canada) - 06-30-2014, 02:31 PM
RE: rskey's Calculator forensics in Fortran - HP67 - 06-30-2014, 02:35 PM
RE: rskey's Calculator forensics in Fortran - Martin Paech - 07-01-2014, 07:34 AM
RE: rskey's Calculator forensics in Fortran - HP67 - 07-01-2014, 07:53 AM
RE: rskey's Calculator forensics in Fortran - HP67 - 03-08-2016, 09:09 AM
RE: rskey's Calculator forensics in Fortran - Paul Berger (Canada) - 03-08-2016, 05:31 PM
RE: rskey's Calculator forensics in Fortran - HP67 - 03-13-2016, 02:15 PM
RE: rskey's Calculator forensics in Fortran - Paul Berger (Canada) - 03-13-2016, 04:51 PM
RE: rskey's Calculator forensics in Fortran - Dieter - 03-09-2016, 10:08 AM
RE: rskey's Calculator forensics in Fortran - Paul Dale - 03-09-2016, 09:27 PM
RE: rskey's Calculator forensics in Fortran - HP67 - 03-13-2016, 02:24 PM
|
User(s) browsing this thread: 1 Guest(s)