volk/rotator: Wrap each kernel in #ifdef #endif to ensure detection

It seems that without this, the unaligned kernel are not detected.
The Python "magic" only parses one kernel per #ifdef block

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
volk/qa: Fix the error checking in cast in1[i] was negative

Also, remove all the (t*) casts ... in1 & in2 are explicitely of t* type,
no need to cast everywhere.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
volk/qa: For complex series, check the EVM rather than real/imag separately

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
volk/rotator: Whitespace fixes

Remove all whitespace at the end of lines

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
volk/rotator: Fix some debug printf accessing array out-of-bound

Those are disabled by default, but enabling them for debugging will
result in warnings, so might as well fix them.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
volk/rotator: Fix the renormalization process (missing sqrt)

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
volk/rotator: Tighten the tolerance to 1e-3 in QA

It doesn't quite pass with 1e-4 yet :(

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>