aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-01-26 20:32:41 +0100
committerMartin Braun <martin.braun@ettus.com>2016-02-04 09:50:49 -0800
commit747f5e8bc00c898b62c7153deea3666c082d317a (patch)
treeb77f7cfef536f6bc72d78b8bf91931a5bff74dd2 /host/include
parent11ad46f74837f080c42a2c9109e223f3b8100442 (diff)
downloaduhd-747f5e8bc00c898b62c7153deea3666c082d317a.tar.gz
uhd-747f5e8bc00c898b62c7153deea3666c082d317a.tar.bz2
uhd-747f5e8bc00c898b62c7153deea3666c082d317a.zip
math: Removed now superfluous constants. Removes a lot of compiler warnings
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/utils/math.hpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/host/include/uhd/utils/math.hpp b/host/include/uhd/utils/math.hpp
index 088983167..0b35f1f17 100644
--- a/host/include/uhd/utils/math.hpp
+++ b/host/include/uhd/utils/math.hpp
@@ -32,19 +32,6 @@ namespace uhd {
namespace math {
/*!
- * Numeric limits of certain types.
- *
- * There are many sources for getting these, including std::numeric_limits,
- * `<cstdint>`, `<climits>`, and Boost. The `<cstdint>` option is preferable as it
- * gives us fixed-width constants, but unfortunately is new as of C++11.
- * Since this isn't available on many systems, we need to use one of the
- * other options. We will use the Boost option, here, since we use Boost
- * data types for portability across UHD.
- */
- static const boost::int32_t BOOST_INT32_MAX = boost::numeric::bounds<boost::int32_t>::highest();
- static const boost::int32_t BOOST_INT32_MIN = boost::numeric::bounds<boost::int32_t>::lowest();
-
- /*!
* Define epsilon values for floating point comparisons.
*
* There are a lot of different sources for epsilon values that we could use