- 积分
- 802
- UID
- 195
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2006-4-14 08:20:33
|
显示全部楼层
Albert uses a very low precision sin/cos look-up table. The rounding at its address generation enlarges the deviations.
example:
before "low precision" operation:
value(S40.03)=0.416723851
value(original)=0.416723849
deviation: 0,00000048%
after "low precision" operation:
value(S40.03)=0.423156123
values(original)=0.40853772
deviation: 3,58% (cca. 7500000 more times bigger difference)
I will modify this part if I will found some free hours.
edit: This rounding problem appears infrequently, but if it appears that means a big problem... (zero credit)
akosf说的。。。 |
|