mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
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:
@@ -186,8 +186,8 @@ static const double specialValuesDouble[] = {
|
||||
MAKE_HEX_DOUBLE(-0x1.0000000000001p31, -0x10000000000001LL, -21),
|
||||
MAKE_HEX_DOUBLE(-0x1.0p31, -0x1LL, 31),
|
||||
MAKE_HEX_DOUBLE(-0x1.fffffffffffffp30, -0x1fffffffffffffLL, -22),
|
||||
-1000.,
|
||||
-100.,
|
||||
-1000.0,
|
||||
-100.0,
|
||||
-4.0,
|
||||
-3.5,
|
||||
-3.0,
|
||||
@@ -240,8 +240,8 @@ static const double specialValuesDouble[] = {
|
||||
MAKE_HEX_DOUBLE(+0x1.0000000000001p31, +0x10000000000001LL, -21),
|
||||
MAKE_HEX_DOUBLE(+0x1.0p31, +0x1LL, 31),
|
||||
MAKE_HEX_DOUBLE(+0x1.fffffffffffffp30, +0x1fffffffffffffLL, -22),
|
||||
+1000.,
|
||||
+100.,
|
||||
+1000.0,
|
||||
+100.0,
|
||||
+4.0,
|
||||
+3.5,
|
||||
+3.0,
|
||||
|
||||
Reference in New Issue
Block a user