This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
math bug
- To: newlib at sources dot redhat dot com
- Subject: math bug
- From: wwenyan at hongkong dot com
- Date: Tue, 6 Feb 2001 17:06:27 +0800 (CST)
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