This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Avoiding floating point problems on Pentium Xeon platform w/GCC 3.2
- From: John Love-Jensen <eljay at adobe dot com>
- To: "Kleinbussink, Erik" <erik dot kleinbussink at lmco dot com>, "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 09 Jun 2003 07:46:20 -0500
- Subject: Re: Avoiding floating point problems on Pentium Xeon platform w/GCC 3.2
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