Move code around to reduce differences (#1185)

Code is moved to reduce the differences between tests for single- and
double-precision.

Improve consistency in double-literal.

Signed-off-by: Marco Antognini <marco.antognini@arm.com>
This commit is contained in:
Marco Antognini
2021-03-09 22:55:33 +00:00
committed by GitHub
parent a483255e50
commit a53917a37e
10 changed files with 398 additions and 395 deletions

View File

@@ -208,7 +208,7 @@ static const float specialValuesFloat[] = {
MAKE_HEX_FLOAT(+0x0.000006p-126f, +0x0000006L, -150),
MAKE_HEX_FLOAT(+0x0.000004p-126f, +0x0000004L, -150),
MAKE_HEX_FLOAT(+0x0.000002p-126f, +0x0000002L, -150),
+0.0f
+0.0f,
};
static const size_t specialValuesFloatCount =