On 8 Apr 2001, at 8:01, f.couperin wrote:
My platform : Intel Pentium 120 + Windows 98.
On my machine, LongReal type is the Intel IEEE Double-Extended which has a size of 80 bits (stored in 96 bits). [<SizeOf(LongReal);> gives 12.] I guess it's different on your computer.
I do not think that this is the cause. From the Intel "Software Developer's Manual Volume 1", Chapter 7.1, "Compatibility and Ease of Use of the Intel Architecture FPU:"
"The architecture of the IA FPU has evolved in parallel with the architecture of early IA processors. [...]
"Throughout this evolution, compatibility among the various generations of FPUs and math coprocessors has been maintained. For example, the Pentium Pro processor's FPU is fully compatible with the Pentium and Intel486 DX processors's FPUs."
As we are both running x86 processors, then the difference most likely will be in GPC from my version to yours.
Another possibility: do you have a Pentium processor that has the FDIV bug? See:
http://catless.ncl.ac.uk/Risks/16.57.html#subj2
If so, and if the GPC runtime uses FDIV somewhere in its processing of your program, then perhaps that causing the effect you see.
-- Dave