From 3c72ae21ae10f3f3f379cc45ef145bc7d90feed7 Mon Sep 17 00:00:00 2001 From: Cyril SIX Date: Wed, 27 Feb 2019 12:06:09 +0100 Subject: Changing the way floats are compared (script using reltol and abstol comparison) --- test/mppa/instr/framework.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/mppa/instr/framework.h') diff --git a/test/mppa/instr/framework.h b/test/mppa/instr/framework.h index d4f36f6b..3bbfa271 100644 --- a/test/mppa/instr/framework.h +++ b/test/mppa/instr/framework.h @@ -46,7 +46,7 @@ /* END END_TEST32 */ #define END_TESTF32()\ - printf("%f\t%f\t%f\n", a, b, c);\ + printf("%e\t%e\t%e\n", a, b, c);\ S += c;\ }\ return 0;\ @@ -54,7 +54,7 @@ /* END END_TESTF32 */ #define END_TESTF64()\ - printf("%lf\t%lf\t%lf\n", a, b, c);\ + printf("%e\t%e\t%e\n", a, b, c);\ S += c;\ }\ return 0;\ -- cgit