summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/math
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2017-04-15 15:35:09 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2017-04-15 15:35:09 -0700
commit00a557a079793ae83ae1e36e554ed84e5db9a3bf (patch)
tree6f5e522750885e7fdf79dcde530632c3c00b5a8d /gnuradio-runtime/lib/math
parent3a11ee086e712fb4c5077340a682aa2774610e8a (diff)
parentcdeaea745c2f653a2fa7d5429789c4492596e283 (diff)
Merge branch 'next' into python3
Diffstat (limited to 'gnuradio-runtime/lib/math')
-rw-r--r--gnuradio-runtime/lib/math/qa_fast_atan2f.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnuradio-runtime/lib/math/qa_fast_atan2f.cc b/gnuradio-runtime/lib/math/qa_fast_atan2f.cc
index 154998f79a..9584a578a1 100644
--- a/gnuradio-runtime/lib/math/qa_fast_atan2f.cc
+++ b/gnuradio-runtime/lib/math/qa_fast_atan2f.cc
@@ -31,9 +31,9 @@
#include <limits>
#ifdef _MSC_VER
-#define isnan _isnan
+#define ISNAN _isnan
#else
-using std::isnan;
+#define ISNAN std::isnan
#endif
void
@@ -98,7 +98,7 @@ qa_fast_atan2f::t2()
x = inf;
y = inf;
gr_atan2f = gr::fast_atan2f(y, x);
- CPPUNIT_ASSERT(isnan(gr_atan2f));
+ CPPUNIT_ASSERT(ISNAN(gr_atan2f));
/* Test x as NAN */
@@ -128,10 +128,10 @@ qa_fast_atan2f::t2()
x = inf;
y = nan;
gr_atan2f = gr::fast_atan2f(y, x);
- CPPUNIT_ASSERT(isnan(gr_atan2f));
+ CPPUNIT_ASSERT(ISNAN(gr_atan2f));
x = nan;
y = inf;
gr_atan2f = gr::fast_atan2f(y, x);
- CPPUNIT_ASSERT(isnan(gr_atan2f));
+ CPPUNIT_ASSERT(ISNAN(gr_atan2f));
}