aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa/instr/framework.h
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-02-27 12:06:09 +0100
committerCyril SIX <cyril.six@kalray.eu>2019-02-27 12:06:09 +0100
commit3c72ae21ae10f3f3f379cc45ef145bc7d90feed7 (patch)
treef6225fd6bfeb4d83d635ad8bd9859f60b18edb9c /test/mppa/instr/framework.h
parent12f0b90362f079cb1386883fe2d87a7d6955faa3 (diff)
downloadcompcert-kvx-3c72ae21ae10f3f3f379cc45ef145bc7d90feed7.tar.gz
compcert-kvx-3c72ae21ae10f3f3f379cc45ef145bc7d90feed7.zip
Changing the way floats are compared (script using reltol and abstol comparison)
Diffstat (limited to 'test/mppa/instr/framework.h')
-rw-r--r--test/mppa/instr/framework.h4
1 files changed, 2 insertions, 2 deletions
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;\