[Bug target/15134] incorrect -ffast-math division simplification

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Apr 25 17:30:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-25 17:14 -------
Note what -ffast-math does is converts:
90.0/x into 1/x *90.0, so there is a precision loss which causes 1./0f/30.0 * 90.0 != 3.0.  So this is still 
invalid.

-- 


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



More information about the Gcc-bugs mailing list