diff options
Diffstat (limited to 't/op/sprintf2.t')
-rw-r--r-- | t/op/sprintf2.t | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/t/op/sprintf2.t b/t/op/sprintf2.t index d03deb17b6..43ed919be5 100644 --- a/t/op/sprintf2.t +++ b/t/op/sprintf2.t @@ -55,6 +55,11 @@ if ($Config{nvsize} == 8 && [ '% a', ' 1', ' 0x1p+0' ], [ '% a', '-1', '-0x1p+0' ], + [ '%+ a', '1', '+0x1p+0' ], + [ '%+ a', '-1', '-0x1p+0' ], + [ '% +a', ' 1', '+0x1p+0' ], + [ '% +a', '-1', '-0x1p+0' ], + [ '%8a', '3.14', '0x1.91eb851eb851fp+1' ], [ '%13a', '3.14', '0x1.91eb851eb851fp+1' ], [ '%20a', '3.14', '0x1.91eb851eb851fp+1' ], @@ -112,6 +117,11 @@ if ($Config{nvsize} == 8 && [ '% a', ' 1', ' 0x8p-3' ], [ '% a', '-1', '-0x8p-3' ], + [ '%+ a', '1', '+0x8p-3' ], + [ '%+ a', '-1', '-0x8p-3' ], + [ '% +a', ' 1', '+0x8p-3' ], + [ '% +a', '-1', '-0x8p-3' ], + [ '%8a', '3.14', '0xc.8f5c28f5c28f5c3p-2' ], [ '%13a', '3.14', '0xc.8f5c28f5c28f5c3p-2' ], [ '%20a', '3.14', '0xc.8f5c28f5c28f5c3p-2' ], @@ -166,6 +176,11 @@ if ($Config{nvsize} == 8 && [ '% a', '1', ' 0x1p+0' ], [ '% a', '-1', '-0x1p+0' ], + [ '%+ a', '1', '+0x1p+0' ], + [ '%+ a', '-1', '-0x1p+0' ], + [ '% +a', ' 1', '+0x1p+0' ], + [ '% +a', '-1', '-0x1p+0' ], + [ '%8a', '3.14', '0x1.91eb851eb851eb851eb851eb851fp+1' ], [ '%13a', '3.14', '0x1.91eb851eb851eb851eb851eb851fp+1' ], [ '%20a', '3.14', '0x1.91eb851eb851eb851eb851eb851fp+1' ], |