Closed Dooez closed 7 months ago
For some fft lengths reverse_bit_order(num, depth) depth argument is 0 when calculating the twiddles, resulting in UB.
reverse_bit_order(num, depth)
Added check to reverse_bit_order(). reverse_bit_order() is used during initialization only, this should not affect the performance.
reverse_bit_order()
For some fft lengths
reverse_bit_order(num, depth)
depth argument is 0 when calculating the twiddles, resulting in UB.