summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/math/gen_sine_table.py
Commit message (Collapse)AuthorAgeFilesLines
* runtime: pep8 formattingJosh Morman2021-11-241-12/+16
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* runtime: simplify math fxpt sine/cosine calculationArtem Pisarenko2021-01-171-16/+4
| | | | | | | | | Algorithm improved in order to eliminate getting output values outside of range [-1.0, 1.0) Fixes #2993 Signed-off-by: Artem Pisarenko <artem.k.pisarenko@gmail.com>
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-031-1/+0
| | | | | | | | | | | | | | | | All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* runtime: fix python math script generating wrong sine tableArtem Pisarenko2020-01-021-3/+2
| | | | Fixes commit 48d535e9d9d95524b2c8ed35b44c7eda541aea68
* python: replace unfunctional old_div with functional codeAndrej Rode2018-08-171-1/+1
| | | | | | | | | | a previous change to py3k introduced synactically incorrect `old_div` function calls. A replacement with `//` and `/` where applicable is more appropriate. Eventually `from __future__ import division` needs to be added as well to have the "real" division also for integer values in python closes #1902
* python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-261-2/+4
|
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-0/+77