[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/01: fix QA code for fast_atan2f to expli
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/01: fix QA code for fast_atan2f to explicitly use std::isnan |
Date: |
Wed, 19 Mar 2014 15:03:00 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch maint
in repository gnuradio.
commit 0294d120bae1efaf7d34e45efcadcc2298c65c94
Author: Michael Dickens <address@hidden>
Date: Wed Mar 19 09:39:53 2014 -0400
fix QA code for fast_atan2f to explicitly use std::isnan
---
gnuradio-runtime/lib/math/qa_fast_atan2f.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnuradio-runtime/lib/math/qa_fast_atan2f.cc
b/gnuradio-runtime/lib/math/qa_fast_atan2f.cc
index b4f1044..2ec4ecb 100644
--- a/gnuradio-runtime/lib/math/qa_fast_atan2f.cc
+++ b/gnuradio-runtime/lib/math/qa_fast_atan2f.cc
@@ -92,7 +92,7 @@ qa_fast_atan2f::t2()
x = inf;
y = inf;
gr_atan2f = gr::fast_atan2f(x, y);
- CPPUNIT_ASSERT(isnan(gr_atan2f));
+ CPPUNIT_ASSERT(std::isnan(gr_atan2f));
/* Test x as NAN */
@@ -123,11 +123,11 @@ qa_fast_atan2f::t2()
x = inf;
y = nan;
gr_atan2f = gr::fast_atan2f(x, y);
- CPPUNIT_ASSERT(isnan(gr_atan2f));
+ CPPUNIT_ASSERT(std::isnan(gr_atan2f));
x = nan;
y = inf;
gr_atan2f = gr::fast_atan2f(x, y);
- CPPUNIT_ASSERT(isnan(gr_atan2f));
+ CPPUNIT_ASSERT(std::isnan(gr_atan2f));
}