aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-08-31 11:22:41 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-10-19 12:21:33 -0700
commit692a588723ec77b62179b70e17eb157ef1b4ea31 (patch)
treea02f593b2819878f9e256237d3fdd1c3e7ca34dc /host/lib
parentb6119e581e6ea9273b188463dc4529c30db140ba (diff)
downloaduhd-692a588723ec77b62179b70e17eb157ef1b4ea31.tar.gz
uhd-692a588723ec77b62179b70e17eb157ef1b4ea31.tar.bz2
uhd-692a588723ec77b62179b70e17eb157ef1b4ea31.zip
lib: Remove all remaining usage of boost::numeric::bounds<>
Replaced by std::numeric_limits<>.
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/cores/dsp_core_utils.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/lib/usrp/cores/dsp_core_utils.cpp b/host/lib/usrp/cores/dsp_core_utils.cpp
index 2e99cde4d..84331fcec 100644
--- a/host/lib/usrp/cores/dsp_core_utils.cpp
+++ b/host/lib/usrp/cores/dsp_core_utils.cpp
@@ -10,9 +10,10 @@
#include <uhdlib/usrp/cores/dsp_core_utils.hpp>
#include <boost/math/special_functions/sign.hpp>
#include <cmath>
+#include <limits>
-static const int32_t MAX_FREQ_WORD = boost::numeric::bounds<int32_t>::highest();
-static const int32_t MIN_FREQ_WORD = boost::numeric::bounds<int32_t>::lowest();
+static const int32_t MAX_FREQ_WORD = std::numeric_limits<int32_t>::max();
+static const int32_t MIN_FREQ_WORD = std::numeric_limits<int32_t>::min();
void get_freq_and_freq_word(const double requested_freq,
const double tick_rate,