summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/math
Commit message (Collapse)AuthorAgeFilesLines
...
* runtime: math: reset a QA test for the fast_atan2f for mixed nan/inf input.Tom Rondeau2014-12-031-2/+1
| | | | This is the original check (isnan) before the change in table and so the behavior for this input should be the same.
* runtime: math: in fast_atan2f, moved nested if that checks for divide by ↵Tom Rondeau2014-11-251-4/+7
| | | | | | | | zero out into its own check. This change mostly affects ARM processors. They seem to not do well with nest branches whereas x86 do fine. Breaking out this nested if makes no computational difference on x86 but makes a ~5-6% improvement for the ARMv7 tests. Also updates the docs to reflect the new mean error from the function.
* Checking for NaN takes too much time. With some incompatibility to cmath ↵aiph2014-11-252-97/+81
| | | | | | atan2 for some NaN/Inf combinations the performance is better now. This change should not have any impact in SDR related things. It is only for checking NaN/Inf values.
* cleaned the codeaiph2014-11-221-9/+5
|
* modified the qa tests to the correct values.aiph2014-11-212-29/+43
|
* Corrected the fast_atan2f function. Recalculated the table and corrected ↵Philipp Aigner2014-11-131-70/+70
| | | | | | | | some errors in the code. Error before correction: <0.111 degrees. Error after correction: <8.20E-5 degrees Some QA tests failed after correcting fast_atan2f function. The tests were also fixed.
* Windows compatibility fixesNicholas Corgan2014-07-071-3/+9
| | | | | * Fixed usage of Windows thread-naming API, changed minimum Windows version * Fixed MSVC usage of isnan, round
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-072-7/+7
| | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* fix QA code for fast_atan2f to explicitly use std::isnanMichael Dickens2014-03-191-3/+3
|
* math: updated QA code to test nan and inf inputs to fast_atan2f.Tom Rondeau2014-03-182-4/+88
| | | | When calculating with nan/inf values for x and/or y, make sure they all return and don't segfault. The results of gr_fast_atan2f in these cases may be different than atan2. But since we are concerned about speed with this block over accuracy (especially in these instances), we just want to make sure it doesn't crash.
* math: fix for index lookup of fast_atan2f; prevents a segfault when x=inf ↵Sylvain Munaut2014-03-181-1/+1
| | | | and y=inf.
* math: fixes fast_atan2 float==0 check.Tom Rondeau2013-12-011-1/+1
| | | | runtime: adds math functions to swig to make available as gr.function.
* runtime: add qa for fast_atan2f, removed a float equality testNathan West2013-11-063-4/+94
|
* blocks: adding a complex VCO block.Tom Rondeau2013-08-262-0/+34
|
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-2918-0/+2472