[Compbench-devel] CompBenchmarks++/libcompbenchmarks/CEL CEL-Cmp.cpp, 1.1, 1.2
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-03-11 18:49:47
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/CEL In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv22274 Modified Files: CEL-Cmp.cpp Log Message: Evaluate() renamed to evaluate(); <cel-cmp-ae/> fixed. Index: CEL-Cmp.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/CEL/CEL-Cmp.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CEL-Cmp.cpp 5 Mar 2007 20:32:39 -0000 1.1 --- CEL-Cmp.cpp 11 Mar 2007 18:49:44 -0000 1.2 *************** *** 31,35 **** } ! std::string CelCmpEq::Evaluate(void) { int i; --- 31,35 ---- } ! std::string CelCmpEq::evaluate(void) { int i; *************** *** 70,75 **** } ! ! std::string CelCmpAE::Evaluate(void) { int i; --- 70,74 ---- } ! std::string CelCmpAE::evaluate(void) { int i; *************** *** 88,95 **** if (previousSet) { dum=A->Evaluate(); - tmp=atoi(dum.c_str()); ! if (tmp < previous_tmp) return("0"); } else { previousSet=1; --- 87,95 ---- if (previousSet) { dum=A->Evaluate(); ! tmp=atoi(dum.c_str()); ! if (tmp > previous_tmp) return("0"); + previous_tmp=tmp; } else { previousSet=1; |