Incorrect runtime behavior involving comparison
Horst von Brand
vonbrand@sleipnir.valparaiso.cl
Mon Jan 10 15:31:00 GMT 2000
"Matt Austern" <austern@isolde.engr.sgi.com> said:
> SYMPTOM:
> The correct output from the following program is:
> t1 is false
> t2 is false
You are comparing two "should be equal" floating point expressions,
depending on rounding and the phase of the moon, you will get different
results.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile +56 32 672616
More information about the Gcc-bugs
mailing list