This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


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

math bug


Dear sir:
I compiled libm/math by GCC(our own chip),butfound bugs in sinf,for example:
   {
     float x,y ;
     x=9.994001e8;
     y=sinf(x);
   }
It gives the result: 0.0133645;
But the result should be 0.2580169,perhaps kf_rem_pio2.c has problem.
I try many values,most of them are right. 
could you try it and tell me the result?

            
              regards
            wenyan wang
              2001,2,6


----------------------------------------------
 歡迎使用HongKong.com郵件系統
 Thank you for using hongkong.com Email system


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