[PPL-devel] [GIT] ppl/ppl(master): Test 4 in digitalfilers1. cc overflows with 64-bits if assertions are on.

Enea Zaffanella zaffanella at cs.unipr.it
Sat Mar 6 08:32:39 CET 2010


Module: ppl/ppl
Branch: master
Commit: 6ed63be5fa24eb25acb75df25511c79ec20a79e5
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=6ed63be5fa24eb25acb75df25511c79ec20a79e5

Author: Enea Zaffanella <zaffanella at cs.unipr.it>
Date:   Sat Mar  6 08:31:33 2010 +0100

Test 4 in digitalfilers1.cc overflows with 64-bits if assertions are on.

---

 tests/Floating_Point_Expression/digitalfilters1.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/Floating_Point_Expression/digitalfilters1.cc b/tests/Floating_Point_Expression/digitalfilters1.cc
index b5886ce..41c6229 100644
--- a/tests/Floating_Point_Expression/digitalfilters1.cc
+++ b/tests/Floating_Point_Expression/digitalfilters1.cc
@@ -983,7 +983,7 @@ BEGIN_MAIN
   DO_TEST_F8(test01);
   DO_TEST_F8(test02);
   DO_TEST_F8(test03);
-  DO_TEST_F32(test04);
+  DO_TEST_F64A(test04);
 
 #define COND_float  PPL_CPP_EQ(PPL_CPP_FP_FORMAT(ANALYZER_FP_FORMAT), 1)
 #define COND_double PPL_CPP_EQ(PPL_CPP_FP_FORMAT(ANALYZER_FP_FORMAT), 2)




More information about the PPL-devel mailing list