CMSIS-DSP: Improved formating scripts in test framework
diff --git a/CMSIS/DSP/Testing/summaryBench.py b/CMSIS/DSP/Testing/summaryBench.py
index 4cb9ac1..341fc31 100644
--- a/CMSIS/DSP/Testing/summaryBench.py
+++ b/CMSIS/DSP/Testing/summaryBench.py
@@ -52,8 +52,8 @@
def formatProd(a,b):
if a == "Intercept":
- return(str(b))
- return("%s * %s" % (a,b))
+ return("%.3f" % b)
+ return("%s * %.3f" % (a,b))
def summaryBenchmark(resultPath,elem,path):
regressionPath=os.path.join(os.path.dirname(path),"regression.csv")