This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/35523] Wrong result for constant float expression



------- Comment #10 from martin dot apel at simpack dot de  2008-03-11 07:58 -------
You are right, tan(PI/2) is undefined. I had this contained in some sort of
unit test comparing the results of my own formula evaluation code
and the result of the compiler. This gave the same result with gcc 4.2, but not
with 4.3. So this is obviously not really a bug, just differing behaviour in
a case, where the behaviour is undefined.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]