Report inputs for worst errors (#1231)

Builtin functions producing two results can have their worst error, for
each result, on different inputs. Report both inputs.

Signed-off-by: Marco Antognini <marco.antognini@arm.com>
This commit is contained in:
Marco Antognini
2021-05-07 09:29:28 +01:00
committed by GitHub
parent 5daca107ad
commit 3dab3df48d
4 changed files with 8 additions and 4 deletions

View File

@@ -562,7 +562,8 @@ int TestFunc_DoubleI_Double_Double(const Func *f, MTdata d, bool relaxedMode)
else
vlog("passed");
vlog("\t{%8.2f, %lld} @ %a", maxError, maxError2, maxErrorVal);
vlog("\t{%8.2f, %lld} @ {%a, %a}", maxError, maxError2, maxErrorVal,
maxErrorVal2);
}
vlog("\n");

View File

@@ -547,7 +547,8 @@ int TestFunc_FloatI_Float_Float(const Func *f, MTdata d, bool relaxedMode)
else
vlog("passed");
vlog("\t{%8.2f, %lld} @ %a", maxError, maxError2, maxErrorVal);
vlog("\t{%8.2f, %lld} @ {%a, %a}", maxError, maxError2, maxErrorVal,
maxErrorVal2);
}
vlog("\n");

View File

@@ -400,7 +400,8 @@ int TestFunc_DoubleI_Double(const Func *f, MTdata d, bool relaxedMode)
else
vlog("passed");
vlog("\t{%8.2f, %lld} @ %a", maxError, maxError2, maxErrorVal);
vlog("\t{%8.2f, %lld} @ {%a, %a}", maxError, maxError2, maxErrorVal,
maxErrorVal2);
}
vlog("\n");

View File

@@ -398,7 +398,8 @@ int TestFunc_FloatI_Float(const Func *f, MTdata d, bool relaxedMode)
else
vlog("passed");
vlog("\t{%8.2f, %lld} @ %a", maxError, maxError2, maxErrorVal);
vlog("\t{%8.2f, %lld} @ {%a, %a}", maxError, maxError2, maxErrorVal,
maxErrorVal2);
}
vlog("\n");