超级求平方根的方法
摘要:
float SquareRootFloat(float number) { long i; float x, y; const float f = 1.5F; x = number * 0.5F; y = number; i = * (long *) &y; i = 0x5f3759df - (i >> 1);//0x5f375a86 is more better than 0x... 阅读全文
posted @ 2007-09-11 11:49 highmayor 阅读(516) 评论(0) 推荐(0) 编辑