Skip to content

Commit

Permalink
[printf]: input value should be exactly representable as 32-bit float (
Browse files Browse the repository at this point in the history
  • Loading branch information
dneto0 committed Jul 18, 2024
1 parent 070052c commit 5b5e43e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test_conformance/printf/util_printf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,13 +346,15 @@ std::vector<printDataGenParameters> printFloatGenParameters = {

// Double argument representing floating-point,with
// exponent,left-justified,default(right)-justified
// Use a value that is exactly representable as 32-bit float.

{ { "%-#20.15e" }, "789456123.0" },
{ { "%-#20.15e" }, "789456128.0" },

// Double argument representing floating-point,with
// exponent,left-justified,with sign,capital E,default(right)-justified
// Use a value that is exactly representable as 32-bit float.

{ { "%+#21.15E" }, "789456123.0" },
{ { "%+#21.15E" }, "789456128.0" },

// Double argument representing floating-point,in [-]xh.hhhhpAd style

Expand Down

0 comments on commit 5b5e43e

Please sign in to comment.