XSLT存档  

不及格的程序员-八神

 查看分类:  ASP.NET XML/XSLT JavaScripT   我的MSN空间Blog
06 2021 档案
手动开平方根
摘要:算法级别的难,举个例子,Quake 3中求反平方根的算法,没人解释基本看不懂: float InvSqrt (float x){ float xhalf = 0.5f*x; int i = *(int*)&x; i = 0x5f3759df - (i>>1); x = *(float*)&i; x 阅读全文
posted @ 2021-06-25 11:18 不及格的程序员-八神 阅读(352) 评论(0) 推荐(0)