missing testcases - sprintf() function

This commit is contained in:
Raghubansh Kumar 2007-11-09 04:20:10 +00:00
parent 78e0afe7ad
commit 640f060335
4 changed files with 1273 additions and 0 deletions

View File

@ -0,0 +1,278 @@
--TEST--
Test sprintf() function : usage variations - int formats with arrays
--FILE--
<?php
/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
* Description: Return a formatted string
* Source code: ext/standard/formatted_print.c
*/
echo "*** Testing sprintf() : integer formats with arrays ***\n";
// different arrays used to test the function
$array_types = array (
array(),
array(0),
array(1),
array(-123),
array("123"),
array("-123"),
array(NULL),
array(null),
array("string"),
array(true),
array(TRUE),
array(false),
array(FALSE),
array(1,2,3,4),
array(1 => "One", "two" => 2)
);
// various integer formats
$int_formats = array(
"%d", "%hd", "%ld",
"%Ld", " %d", "%d ",
"\t%d", "\n%d", "%4d",
"%30d", "%[0-9]", "%*d"
);
$count = 1;
foreach($array_types as $arr) {
echo "\n-- Iteration $count --\n";
foreach($int_formats as $format) {
var_dump( sprintf($format, $arr) );
}
$count++;
};
echo "Done";
?>
--EXPECTF--
*** Testing sprintf() : integer formats with arrays ***
-- Iteration 1 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 2 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 3 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 4 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 5 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 6 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 7 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 8 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 9 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 10 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 11 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 12 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 13 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 14 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 15 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
Done

View File

@ -0,0 +1,102 @@
--TEST--
Test sprintf() function : usage variations - int formats with boolean values
--FILE--
<?php
/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
* Description: Return a formatted string
* Source code: ext/standard/formatted_print.c
*/
echo "*** Testing sprintf() : integer formats with boolean values ***\n";
// array of boolean type values
$boolean_values = array (
true,
false,
TRUE,
FALSE,
);
// various integer formats
$int_formats = array(
"%d", "%hd", "%ld",
"%Ld", " %d", "%d ",
"\t%d", "\n%d", "%4d",
"%30d", "%[0-9]", "%*d"
);
$count = 1;
foreach($boolean_values as $boolean_value) {
echo "\n-- Iteration $count --\n";
foreach($int_formats as $format) {
var_dump( sprintf($format, $boolean_value) );
}
$count++;
};
echo "Done";
?>
--EXPECTF--
*** Testing sprintf() : integer formats with boolean values ***
-- Iteration 1 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 2 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 3 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 4 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
Done

View File

@ -0,0 +1,374 @@
--TEST--
Test sprintf() function : usage variations - int formats with string values
--FILE--
<?php
/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
* Description: Return a formatted string
* Source code: ext/standard/formatted_print.c
*/
echo "*** Testing sprintf() : integer formats with string values ***\n";
// array of strings used to test the function
$string_values = array (
"",
'',
"0",
'0',
"1",
'1',
"-123abc",
"123abc",
"+123abc",
"\x01",
'\x01',
"\01",
'\01',
'string',
"string",
"true",
"FALSE",
'false',
'TRUE',
"NULL",
'null'
);
// various integer formats
$int_formats = array(
"%d", "%hd", "%ld",
"%Ld", " %d", "%d ",
"\t%d", "\n%d", "%4d",
"%30d", "%[0-9]", "%*d"
);
$count = 1;
foreach($string_values as $string_value) {
echo "\n-- Iteration $count --\n";
foreach($int_formats as $format) {
var_dump( sprintf($format, $string_value) );
}
$count++;
};
echo "Done";
?>
--EXPECTF--
*** Testing sprintf() : integer formats with string values ***
-- Iteration 1 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 2 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 3 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 4 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 5 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 6 --
string(1) "1"
string(1) "d"
string(1) "1"
string(1) "d"
string(2) " 1"
string(2) "1 "
string(2) " 1"
string(2) "
1"
string(4) " 1"
string(30) " 1"
string(4) "0-9]"
string(1) "d"
-- Iteration 7 --
string(4) "-123"
string(1) "d"
string(4) "-123"
string(1) "d"
string(5) " -123"
string(5) "-123 "
string(5) " -123"
string(5) "
-123"
string(4) "-123"
string(30) " -123"
string(4) "0-9]"
string(1) "d"
-- Iteration 8 --
string(3) "123"
string(1) "d"
string(3) "123"
string(1) "d"
string(4) " 123"
string(4) "123 "
string(4) " 123"
string(4) "
123"
string(4) " 123"
string(30) " 123"
string(4) "0-9]"
string(1) "d"
-- Iteration 9 --
string(3) "123"
string(1) "d"
string(3) "123"
string(1) "d"
string(4) " 123"
string(4) "123 "
string(4) " 123"
string(4) "
123"
string(4) " 123"
string(30) " 123"
string(4) "0-9]"
string(1) "d"
-- Iteration 10 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 11 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 12 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 13 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 14 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 15 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 16 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 17 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 18 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 19 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 20 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
-- Iteration 21 --
string(1) "0"
string(1) "d"
string(1) "0"
string(1) "d"
string(2) " 0"
string(2) "0 "
string(2) " 0"
string(2) "
0"
string(4) " 0"
string(30) " 0"
string(4) "0-9]"
string(1) "d"
Done

View File

@ -0,0 +1,519 @@
--TEST--
Test sprintf() function : usage variations - float formats with float values
--FILE--
<?php
/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
* Description: Return a formatted string
* Source code: ext/standard/formatted_print.c
*/
echo "*** Testing sprintf() : float formats with float values ***\n";
// array of float type values
$float_values = array (
-2147483649, // float value
2147483648, // float value
-0x80000001, // float value, beyond max negative int
0x800000001, // float value, beyond max positive int
020000000001, // float value, beyond max positive int
-020000000001, // float value, beyond max negative int
0.0,
-0.1,
10.0000000000000000005,
10.5e+5,
1e5,
-1e5,
1e-5,
-1e-5,
1e+5,
-1e+5,
1E5,
-1E5,
1E+5,
-1E+5,
1E-5,
-1E-5,
.5e+7,
-.5e+7,
.6e-19,
-.6e-19,
.05E+44,
-.05E+44,
.0034E-30,
-.0034E-30
);
// various float formats
$float_formats = array(
"%f", "%hf", "%lf",
"%Lf", " %f", "%f ",
"\t%f", "\n%f", "%4f",
"%30f", "%[0-9]", "%*f",
);
$count = 1;
foreach($float_values as $float_value) {
echo "\n-- Iteration $count --\n";
foreach($float_formats as $format) {
var_dump( sprintf($format, $float_value) );
}
$count++;
};
echo "Done";
?>
--EXPECTF--
*** Testing sprintf() : float formats with float values ***
-- Iteration 1 --
string(18) "-2147483649.000000"
string(1) "f"
string(18) "-2147483649.000000"
string(1) "f"
string(19) " -2147483649.000000"
string(19) "-2147483649.000000 "
string(19) " -2147483649.000000"
string(19) "
-2147483649.000000"
string(18) "-2147483649.000000"
string(30) " -2147483649.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 2 --
string(17) "2147483648.000000"
string(1) "f"
string(17) "2147483648.000000"
string(1) "f"
string(18) " 2147483648.000000"
string(18) "2147483648.000000 "
string(18) " 2147483648.000000"
string(18) "
2147483648.000000"
string(17) "2147483648.000000"
string(30) " 2147483648.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 3 --
string(18) "-2147483649.000000"
string(1) "f"
string(18) "-2147483649.000000"
string(1) "f"
string(19) " -2147483649.000000"
string(19) "-2147483649.000000 "
string(19) " -2147483649.000000"
string(19) "
-2147483649.000000"
string(18) "-2147483649.000000"
string(30) " -2147483649.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 4 --
string(18) "34359738369.000000"
string(1) "f"
string(18) "34359738369.000000"
string(1) "f"
string(19) " 34359738369.000000"
string(19) "34359738369.000000 "
string(19) " 34359738369.000000"
string(19) "
34359738369.000000"
string(18) "34359738369.000000"
string(30) " 34359738369.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 5 --
string(17) "2147483649.000000"
string(1) "f"
string(17) "2147483649.000000"
string(1) "f"
string(18) " 2147483649.000000"
string(18) "2147483649.000000 "
string(18) " 2147483649.000000"
string(18) "
2147483649.000000"
string(17) "2147483649.000000"
string(30) " 2147483649.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 6 --
string(18) "-2147483649.000000"
string(1) "f"
string(18) "-2147483649.000000"
string(1) "f"
string(19) " -2147483649.000000"
string(19) "-2147483649.000000 "
string(19) " -2147483649.000000"
string(19) "
-2147483649.000000"
string(18) "-2147483649.000000"
string(30) " -2147483649.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 7 --
string(8) "0.000000"
string(1) "f"
string(8) "0.000000"
string(1) "f"
string(9) " 0.000000"
string(9) "0.000000 "
string(9) " 0.000000"
string(9) "
0.000000"
string(8) "0.000000"
string(30) " 0.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 8 --
string(9) "-0.100000"
string(1) "f"
string(9) "-0.100000"
string(1) "f"
string(10) " -0.100000"
string(10) "-0.100000 "
string(10) " -0.100000"
string(10) "
-0.100000"
string(9) "-0.100000"
string(30) " -0.100000"
string(4) "0-9]"
string(1) "f"
-- Iteration 9 --
string(9) "10.000000"
string(1) "f"
string(9) "10.000000"
string(1) "f"
string(10) " 10.000000"
string(10) "10.000000 "
string(10) " 10.000000"
string(10) "
10.000000"
string(9) "10.000000"
string(30) " 10.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 10 --
string(14) "1050000.000000"
string(1) "f"
string(14) "1050000.000000"
string(1) "f"
string(15) " 1050000.000000"
string(15) "1050000.000000 "
string(15) " 1050000.000000"
string(15) "
1050000.000000"
string(14) "1050000.000000"
string(30) " 1050000.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 11 --
string(13) "100000.000000"
string(1) "f"
string(13) "100000.000000"
string(1) "f"
string(14) " 100000.000000"
string(14) "100000.000000 "
string(14) " 100000.000000"
string(14) "
100000.000000"
string(13) "100000.000000"
string(30) " 100000.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 12 --
string(14) "-100000.000000"
string(1) "f"
string(14) "-100000.000000"
string(1) "f"
string(15) " -100000.000000"
string(15) "-100000.000000 "
string(15) " -100000.000000"
string(15) "
-100000.000000"
string(14) "-100000.000000"
string(30) " -100000.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 13 --
string(8) "0.000010"
string(1) "f"
string(8) "0.000010"
string(1) "f"
string(9) " 0.000010"
string(9) "0.000010 "
string(9) " 0.000010"
string(9) "
0.000010"
string(8) "0.000010"
string(30) " 0.000010"
string(4) "0-9]"
string(1) "f"
-- Iteration 14 --
string(9) "-0.000010"
string(1) "f"
string(9) "-0.000010"
string(1) "f"
string(10) " -0.000010"
string(10) "-0.000010 "
string(10) " -0.000010"
string(10) "
-0.000010"
string(9) "-0.000010"
string(30) " -0.000010"
string(4) "0-9]"
string(1) "f"
-- Iteration 15 --
string(13) "100000.000000"
string(1) "f"
string(13) "100000.000000"
string(1) "f"
string(14) " 100000.000000"
string(14) "100000.000000 "
string(14) " 100000.000000"
string(14) "
100000.000000"
string(13) "100000.000000"
string(30) " 100000.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 16 --
string(14) "-100000.000000"
string(1) "f"
string(14) "-100000.000000"
string(1) "f"
string(15) " -100000.000000"
string(15) "-100000.000000 "
string(15) " -100000.000000"
string(15) "
-100000.000000"
string(14) "-100000.000000"
string(30) " -100000.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 17 --
string(13) "100000.000000"
string(1) "f"
string(13) "100000.000000"
string(1) "f"
string(14) " 100000.000000"
string(14) "100000.000000 "
string(14) " 100000.000000"
string(14) "
100000.000000"
string(13) "100000.000000"
string(30) " 100000.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 18 --
string(14) "-100000.000000"
string(1) "f"
string(14) "-100000.000000"
string(1) "f"
string(15) " -100000.000000"
string(15) "-100000.000000 "
string(15) " -100000.000000"
string(15) "
-100000.000000"
string(14) "-100000.000000"
string(30) " -100000.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 19 --
string(13) "100000.000000"
string(1) "f"
string(13) "100000.000000"
string(1) "f"
string(14) " 100000.000000"
string(14) "100000.000000 "
string(14) " 100000.000000"
string(14) "
100000.000000"
string(13) "100000.000000"
string(30) " 100000.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 20 --
string(14) "-100000.000000"
string(1) "f"
string(14) "-100000.000000"
string(1) "f"
string(15) " -100000.000000"
string(15) "-100000.000000 "
string(15) " -100000.000000"
string(15) "
-100000.000000"
string(14) "-100000.000000"
string(30) " -100000.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 21 --
string(8) "0.000010"
string(1) "f"
string(8) "0.000010"
string(1) "f"
string(9) " 0.000010"
string(9) "0.000010 "
string(9) " 0.000010"
string(9) "
0.000010"
string(8) "0.000010"
string(30) " 0.000010"
string(4) "0-9]"
string(1) "f"
-- Iteration 22 --
string(9) "-0.000010"
string(1) "f"
string(9) "-0.000010"
string(1) "f"
string(10) " -0.000010"
string(10) "-0.000010 "
string(10) " -0.000010"
string(10) "
-0.000010"
string(9) "-0.000010"
string(30) " -0.000010"
string(4) "0-9]"
string(1) "f"
-- Iteration 23 --
string(14) "5000000.000000"
string(1) "f"
string(14) "5000000.000000"
string(1) "f"
string(15) " 5000000.000000"
string(15) "5000000.000000 "
string(15) " 5000000.000000"
string(15) "
5000000.000000"
string(14) "5000000.000000"
string(30) " 5000000.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 24 --
string(15) "-5000000.000000"
string(1) "f"
string(15) "-5000000.000000"
string(1) "f"
string(16) " -5000000.000000"
string(16) "-5000000.000000 "
string(16) " -5000000.000000"
string(16) "
-5000000.000000"
string(15) "-5000000.000000"
string(30) " -5000000.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 25 --
string(8) "0.000000"
string(1) "f"
string(8) "0.000000"
string(1) "f"
string(9) " 0.000000"
string(9) "0.000000 "
string(9) " 0.000000"
string(9) "
0.000000"
string(8) "0.000000"
string(30) " 0.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 26 --
string(9) "-0.000000"
string(1) "f"
string(9) "-0.000000"
string(1) "f"
string(10) " -0.000000"
string(10) "-0.000000 "
string(10) " -0.000000"
string(10) "
-0.000000"
string(9) "-0.000000"
string(30) " -0.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 27 --
string(50) "5000000000000000069686058479707049565356032.000000"
string(1) "f"
string(50) "5000000000000000069686058479707049565356032.000000"
string(1) "f"
string(51) " 5000000000000000069686058479707049565356032.000000"
string(51) "5000000000000000069686058479707049565356032.000000 "
string(51) " 5000000000000000069686058479707049565356032.000000"
string(51) "
5000000000000000069686058479707049565356032.000000"
string(50) "5000000000000000069686058479707049565356032.000000"
string(50) "5000000000000000069686058479707049565356032.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 28 --
string(51) "-5000000000000000069686058479707049565356032.000000"
string(1) "f"
string(51) "-5000000000000000069686058479707049565356032.000000"
string(1) "f"
string(52) " -5000000000000000069686058479707049565356032.000000"
string(52) "-5000000000000000069686058479707049565356032.000000 "
string(52) " -5000000000000000069686058479707049565356032.000000"
string(52) "
-5000000000000000069686058479707049565356032.000000"
string(51) "-5000000000000000069686058479707049565356032.000000"
string(51) "-5000000000000000069686058479707049565356032.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 29 --
string(8) "0.000000"
string(1) "f"
string(8) "0.000000"
string(1) "f"
string(9) " 0.000000"
string(9) "0.000000 "
string(9) " 0.000000"
string(9) "
0.000000"
string(8) "0.000000"
string(30) " 0.000000"
string(4) "0-9]"
string(1) "f"
-- Iteration 30 --
string(9) "-0.000000"
string(1) "f"
string(9) "-0.000000"
string(1) "f"
string(10) " -0.000000"
string(10) "-0.000000 "
string(10) " -0.000000"
string(10) "
-0.000000"
string(9) "-0.000000"
string(30) " -0.000000"
string(4) "0-9]"
string(1) "f"
Done