Skip to content

Commit

Permalink
Corrections due to code review
Browse files Browse the repository at this point in the history
  • Loading branch information
shajder committed Jul 22, 2024
1 parent 8c930df commit ea85d1f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test_conformance/printf/util_printf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ std::vector<printDataGenParameters> printIntGenParameters = {

{ { "%06.5i" }, "100" },

//(Minimum)Ten-wide ,left-justified, with a blank spaces inserted before the
//(Minimum)Ten-wide, left-justified, with a blank space inserted before the
// value

{ { "% 10d" }, "42" },
Expand Down Expand Up @@ -171,14 +171,14 @@ std::vector<printDataGenParameters> printHalfGenParameters = {
{ { "%+#21.15E" }, "-65504.0h" },

//(Minimum)Ten-wide,two positions after the decimal,with
// a blank spaces inserted before the value, default(right)-justified
// a blank space inserted before the value, default(right)-justified

{ { "% 10.2f" }, "1.2345h" },
{ { "% 10.2f" }, "1.25h" },

//(Minimum)Eight-wide,two positions after the decimal, with
// a zeros inserted before the value, default(right)-justified
// zeros inserted before the value, default(right)-justified

{ { "%08.2f" }, "3.1415h" },
{ { "%08.2f" }, "3.14h" },
};

//---------------------------------------------------------
Expand Down Expand Up @@ -378,14 +378,14 @@ std::vector<printDataGenParameters> printFloatGenParameters = {
{ { "%10.2a" }, "9990.235" },

//(Minimum)Ten-wide,two positions after the decimal,with
// a blank spaces inserted before the value, default(right)-justified
// a blank space inserted before the value, default(right)-justified

{ { "% 10.2f" }, "1.2345" },
{ { "% 10.2f" }, "1.25" },

//(Minimum)Eight-wide,two positions after the decimal,with
// a zeros inserted before the value, default(right)-justified
// zeros inserted before the value, default(right)-justified

{ { "%08.2f" }, "3.1415" },
{ { "%08.2f" }, "3.14" },
};

//---------------------------------------------------------
Expand Down Expand Up @@ -516,7 +516,7 @@ std::vector<printDataGenParameters> printOctalGenParameters = {

{ { "%04.5o" }, "10" },

//(Minimum)Ten-wide, a zeros inserted before the value,
//(Minimum)Ten-wide, zeros inserted before the value,
// default(right)-justified

{ { "%010o" }, "10" }
Expand Down

0 comments on commit ea85d1f

Please sign in to comment.