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

Possible optimization #21

Closed
ast opened this issue Aug 30, 2019 · 4 comments
Closed

Possible optimization #21

ast opened this issue Aug 30, 2019 · 4 comments

Comments

@ast
Copy link

ast commented Aug 30, 2019

-ffast-math is not included i -O3, and SDR doesn't really need strict IEEE754 complience.

Something to think about, perhaps.

@touil
Copy link
Member

touil commented Aug 30, 2019

Floats are already at the edge in our IQ correction algorithm (120+ dB image rejection). With fast-math, there will be a numerical stability problem in special signal conditions. I use fast-math elsewhere where it's really needed.

@touil touil closed this as completed Aug 30, 2019
@ast
Copy link
Author

ast commented Aug 30, 2019

Interesting. I will definitly take a look at that.

By the way, what's the reason you have "re-implemented" complex arithmatic? Is complex.h not availble on some platforms you target or did you experience some other problem?

@touil
Copy link
Member

touil commented Aug 30, 2019

Of course, platform availability. Have a look on this algo. Fun guaranteed!

@ast
Copy link
Author

ast commented Aug 30, 2019

Every time I learn about some new nice DSP tricks it's like Christmas!

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

No branches or pull requests

2 participants