summaryrefslogtreecommitdiff
path: root/gnuradio-runtime
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-12-03 18:59:42 -0500
committerTom Rondeau <tom@trondeau.com>2014-12-03 19:00:47 -0500
commit9cfa4ba55ff4431ede3b1abc89a6ef2763b3a5b5 (patch)
treeb2378f09200ee597b1ba876ec22ed73f40999c46 /gnuradio-runtime
parent114494fabbeb552ebe7b40fb6344418ffac8e736 (diff)
runtime: math: reset a QA test for the fast_atan2f for mixed nan/inf input.
This is the original check (isnan) before the change in table and so the behavior for this input should be the same.
Diffstat (limited to 'gnuradio-runtime')
-rw-r--r--gnuradio-runtime/lib/math/qa_fast_atan2f.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnuradio-runtime/lib/math/qa_fast_atan2f.cc b/gnuradio-runtime/lib/math/qa_fast_atan2f.cc
index 644b0c43db..154998f79a 100644
--- a/gnuradio-runtime/lib/math/qa_fast_atan2f.cc
+++ b/gnuradio-runtime/lib/math/qa_fast_atan2f.cc
@@ -128,11 +128,10 @@ qa_fast_atan2f::t2()
x = inf;
y = nan;
gr_atan2f = gr::fast_atan2f(y, x);
- CPPUNIT_ASSERT_DOUBLES_EQUAL(0.0f, gr_atan2f, 0.0001);
+ CPPUNIT_ASSERT(isnan(gr_atan2f));
x = nan;
y = inf;
gr_atan2f = gr::fast_atan2f(y, x);
CPPUNIT_ASSERT(isnan(gr_atan2f));
}
-