gnuradio / volk

The Vector Optimized Library of Kernels
http://libvolk.org
GNU Lesser General Public License v3.0
557 stars 202 forks source link

volk_32fc_x2_divide_32fc: add documentation about numerical accuracy #694

Closed daniestevez closed 1 year ago

daniestevez commented 1 year ago

This adds some documentation to the complex divide kernel about the potential pitfall in some architectures of obtaining inf or nan with a small denominator (even if the numerator is zero) due to reduced range because of -fcx-limited-range and -freciprocal-math.

This closes #608.

daniestevez commented 1 year ago

Force-pushed to fix clang format.

Force-pushed again. Hopefully now it's correct.

argilo commented 1 year ago

The test failure is unrelated; it's due to #663.