[Bug target/55378] Inconsistant double 387 computation when using osthread under windows

philippe.coustaux at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 19 05:00:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55378

--- Comment #3 from philippe.coustaux at gmail dot com 2012-11-19 05:00:07 UTC ---
Hi,

The difference is not always 1ulp. If you look at 'RUN-LOG-30.txt' output file
you can see that its 3ulp. If you ran the binary with a value of 100 the
difference grows to 5ulp.

tcc generated code don't present the bug even with very high values of the
parameter.

Regarding my tests, the result closest to the 'right' value is always given by
the main thread. When in a spawned thread, result loose accuracy.

Regarding of using 64bits or 80bits I dont't know. How can I check that ? How
can I change the rounding mode ?



More information about the Gcc-bugs mailing list