Hi,
I am porting an application from fortran older version (4.0) to new version (11.0). While porting I am facing some problems with real*4 variables:
real*4 a,b,c
a=0.9876875
b=0.6754345
c=a*b
value for c
in old compiler 0.667118
, which is correct value. But with new compiler I am getting a small variation from the output(c variable) like 0.667120
. Though it is a small variation, I am using these values in some other calculation. So the overall output has a huge difference. How to overcome this issue?