From 6419744d76100cf69b2738eeafe0e1c2fb425139 Mon Sep 17 00:00:00 2001 From: Sreelakshmi Haridas Maruthur Date: Tue, 25 Feb 2025 13:54:53 -0700 Subject: [PATCH] printf: Fix the format specifier for %A to add the decimal point (#2290) --- test_conformance/printf/test_printf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_conformance/printf/test_printf.cpp b/test_conformance/printf/test_printf.cpp index e2991f39..69bf1abb 100644 --- a/test_conformance/printf/test_printf.cpp +++ b/test_conformance/printf/test_printf.cpp @@ -247,7 +247,7 @@ cl_program makeMixedFormatPrintfProgram(cl_kernel* kernel_ptr, }; std::array, 2> formats = { - { { "%f", "%e", "%g", "%13a", "%F", "%E", "%G", "%13A" }, + { { "%f", "%e", "%g", "%.13a", "%F", "%E", "%G", "%.13A" }, { "%d", "%i", "%u", "%x", "%o", "%X" } } }; std::vector data_before(2 + genrand_int32(gMTdata) % 8);