float MathFunction::fast_sqrt(float x) { float xhalf = 0.5f * x; //initial guess of 1/sqrt(x); int i = 0x5f3759df - ((*(int*)&x)>>1); float y = *(float*)&i; //iterate y = y * (1.5f-y*y*xhalf); y = y * (1.5f-y*y*xhalf); //end of calculation of 1/sqrt(x); //return sqrt(x) = x * 1/sqrt(x); return (x*y); } float MathFunction::fast_arctan(float y, float x) { Uni32SUF _x, _y; int ix, iy, ygx, idx; flo..