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 #7 from pinskia at gcc dot gnu dot org  2008-03-10 16:53 -------
(In reply to comment #6)
> I also get:
> [dandelion:~] pinskia% ./a.out
> sin(cos(tan(PI/2))) = -0.280611

In fact this calls the functions:
        fmr f1,f0
        bl L_tan$stub
        fmr f0,f1
        fmr f1,f0
        bl L_cos$stub
        fmr f0,f1
        fmr f1,f0
        bl L_sin$stub
        fmr f0,f1


-- 


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]