[Bug c/43405] sinl is not computed correctly

pluto at agmk dot net gcc-bugzilla@gcc.gnu.org
Wed Mar 17 17:51:00 GMT 2010



------- Comment #4 from pluto at agmk dot net  2010-03-17 17:51 -------
more details...

intel (24319101.pdf) manual describe requirements for fsin opcode:

"Calculates the sine of the source operand in register ST(0) and stores
 the result in ST(0). The source operand must be given in radians and must
 be within the range −2^63 to +2^63."

the 1e+22 is greater than allowed 2^63 ~ 9.22e+18.

so this bug is rejected by hardware ;)


-- 


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



More information about the Gcc-bugs mailing list