summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/math
diff options
context:
space:
mode:
authorMarcus Müller <marcus.mueller@ettus.com>2018-01-28 14:14:54 +0100
committerMartin Braun <martin.braun@ettus.com>2018-02-03 15:04:56 +0100
commit5cef50cdb1f8b199ff1a466f509e4f3d7e90d69e (patch)
tree64bf79ff275b8ad688ab2cce161b51c5739f024a /gnuradio-runtime/lib/math
parenta5589c6b85468cf3bf743033f6099665afbfe3a9 (diff)
Use type-generic or float versions of cmath functions where appropriate.
Complements gnuradio/gnuradio#1563, larger-scope version of the issue gnuradio/gnuradio#1561 .
Diffstat (limited to 'gnuradio-runtime/lib/math')
-rw-r--r--gnuradio-runtime/lib/math/fxpt.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnuradio-runtime/lib/math/fxpt.cc b/gnuradio-runtime/lib/math/fxpt.cc
index 23fdda1241..b40b082194 100644
--- a/gnuradio-runtime/lib/math/fxpt.cc
+++ b/gnuradio-runtime/lib/math/fxpt.cc
@@ -33,6 +33,7 @@ namespace gr {
};
const float fxpt::PI = 3.14159265358979323846;
+ const float fxpt::TAU = 2.0 * 3.14159265358979323846;
const float fxpt::TWO_TO_THE_31 = 2147483648.0;
} /* namespace gr */