This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]