I have a CVF DLL which can be called either by a FORTRAN program or a DELPHI PASCAL program. The values that these two programs pass to the DLL are absolutely identical in every bit ( I've painstakingly checked them all ) These numbers are passed ( still bit perfect), to a simple multiplication/addition which produces answers different in the last bit.
I've looked through all of the floating point consistency flags / optimisations etc., but as exactly the same DLL is being used and the inputs are identical, I can't see what else I should try.
My application is chaotic; the rogue last bit causes the final answers to be completely different. The point of the exercise was to show that the two calling programs produce identical answers, so I'm rather stuck. I don't see what it has actually got to do with the calling program.
Anyone got any ideas?