Ganav Posted July 12, 2014 Report Posted July 12, 2014 Se da urmatoarea functie:float blackb0x(float number){ long i; float x2, y; const float threehalfs = 1.5F; x2 = number * 0.5F; y = number; i = *(long*) &y; i = 0x5f3759df - ( i >> 1 ); y = *(float*) &i; y = y * (threehalfs - ( x2 * y * y ) ); return y;}Dati un exemplu de functie echivalenta. Ce particularitate(imbunatatire) prezinta varianta de mai sus, spre deosebire de aceasta? Quote