mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
printf: Fix the format specifier for %A to add the decimal point (#2290)
This commit is contained in:
committed by
GitHub
parent
803e665683
commit
6419744d76
@@ -247,7 +247,7 @@ cl_program makeMixedFormatPrintfProgram(cl_kernel* kernel_ptr,
|
|||||||
};
|
};
|
||||||
|
|
||||||
std::array<std::vector<std::string>, 2> formats = {
|
std::array<std::vector<std::string>, 2> formats = {
|
||||||
{ { "%f", "%e", "%g", "%13a", "%F", "%E", "%G", "%13A" },
|
{ { "%f", "%e", "%g", "%.13a", "%F", "%E", "%G", "%.13A" },
|
||||||
{ "%d", "%i", "%u", "%x", "%o", "%X" } }
|
{ "%d", "%i", "%u", "%x", "%o", "%X" } }
|
||||||
};
|
};
|
||||||
std::vector<char> data_before(2 + genrand_int32(gMTdata) % 8);
|
std::vector<char> data_before(2 + genrand_int32(gMTdata) % 8);
|
||||||
|
|||||||
Reference in New Issue
Block a user