Can anyone help me?
I get a warning for this line saying Comparing floating point quantities for equality may give misleading results.
(step is an real)
DO TIME=0+STEP,15,STEP
I then get a run time error stating 'floating point co-processor fault at address 004014ee in file...'
at this line (the line it fails on varies depending on what step is set at but it's a similar equation)
VELK2=STEP*(((-DAMPC*(VELO+(VELK1/2)))-(SPRING*(DISP+(DISK1/2))))/MASS)
Can anyone shed some light on what might be causing this?
I'm running F95 on Windows 2000 Pro
Thanks
I get a warning for this line saying Comparing floating point quantities for equality may give misleading results.
(step is an real)
DO TIME=0+STEP,15,STEP
I then get a run time error stating 'floating point co-processor fault at address 004014ee in file...'
at this line (the line it fails on varies depending on what step is set at but it's a similar equation)
VELK2=STEP*(((-DAMPC*(VELO+(VELK1/2)))-(SPRING*(DISP+(DISK1/2))))/MASS)
Can anyone shed some light on what might be causing this?
I'm running F95 on Windows 2000 Pro
Thanks