[Bug c/33809] Rounding off error in GCC 4.1.2

satyaakam at yahoo dot co dot in gcc-bugzilla@gcc.gnu.org
Thu Oct 18 14:00:00 GMT 2007



------- Comment #2 from satyaakam at yahoo dot co dot in  2007-10-18 14:00 -------
$gcc -ffloat-store round.c
$ ./a.out
-0.724062

$gcc -O3 -ffloat-store round.c
$ ./a.out
-0.541341

$gcc -O0 -ffloat-store round.c
./a.out
-0.724062


-- 


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



More information about the Gcc-bugs mailing list