Im trying to translate C code ( or C++? ) to Flowcode but I don't understand one part :
Code: Select all
float invSqrt(float number) {
volatile long i;
volatile float x, y;
volatile const float f = 1.5F;
x = number * 0.5F;
y = number;
i = * ( long * ) &y;
i = 0x5f375a86 - ( i >> 1 );
y = * ( float * ) &i;
y = y * ( f - ( x * y * y ) );
return y;
}Code: Select all
i = * ( long * ) &y;How to translate this into flowcode ?
Thank you for your help