[comp.lang.fortran] Help porting code Vax->PC

jwhite@dtoa3.dt.navy.mil (White) (08/24/90)

Hello out there;

   I need some help in trying to understand what is going on porting
some Fortran code that runs on a Vax to a PC/AT machine using Microsoft
Fortran Version 5.0.  After making any changes to the code so it is
usable on the PC, ie opening files units 5 and 6 with names,etc BUT
NOT changing any program logic, I can compile the program to an executable
program.  My problem is that when I run the program using the same data
that ran on the Vax, the program fails on a comaprison of two calculated
variables and the program aborts.  Both variables are double precision,
and are extremely small, on PC and VAX.  Does the VAX, or any mainframe
type machine for that matter, have extra bits of precision?  And is
there any way around this problem

Please email any responses to jwhite@dtoa3.dt.navy.mil

Thanks in advance
Joe White