UBSAN shows the following Undefined Behaviour in volk_32f_invsqrt_32f:
/home/argilo/git/volk/kernels/volk/volk_32f_invsqrt_32f.h:71:22: runtime error: signed integer overflow: 1597463007 - -569061536 cannot be represented in type 'int'
This is the problematic line:
|
u.i = 0x5f3759df - (u.i >> 1); // what the fuck? |