Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

volk_32fc_x2_divide_32fc: add documentation about numerical accuracy #694

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

daniestevez
Copy link
Member

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
Copy link
Member Author

daniestevez commented Nov 6, 2023

Force-pushed to fix clang format.

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

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 gnuradio#608.

Signed-off-by: Daniel Estévez <daniel@destevez.net>
@argilo
Copy link
Member

argilo commented Nov 7, 2023

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

Copy link
Contributor

@jdemel jdemel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jdemel jdemel merged commit 56a893c into gnuradio:main Nov 7, 2023
31 of 32 checks passed
Alesha72003 pushed a commit to Alesha72003/volk that referenced this pull request May 15, 2024
volk_32fc_x2_divide_32fc: add documentation about numerical accuracy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

volk_32fc_x2_divide_32fc gives nan in aarch64 for 0.0 / 1e-20
3 participants