Avoiding floating point problems on Pentium Xeon platform w/ GCC 3.2
John Love-Jensen
eljay@adobe.com
Mon Jun 9 12:51:00 GMT 2003
Hi Erik,
That's the nature of floating point operations.
You can enable IEEE 754 compliance on both platforms, that may help. GCC
has a compiler switch (as do many compilers).
Otherwise, the programmer has to take meticulous care to insure uniform
results. That is to say, review/rework all source code manually -- very
painful.
Been there, done that, good luck.
Sincerely,
--Eljay
More information about the Gcc-help
mailing list