Update remaining octal 32-bit tests

This commit is contained in:
Andrea Faulds 2015-01-20 05:54:13 +00:00
parent 6f67d5ad6e
commit 5c88d11243
7 changed files with 9 additions and 9 deletions

View File

@ -10,9 +10,9 @@ precision=14
$doubles = array(
076545676543223,
032325463734,
077777797777777,
07777777777777977777777777,
03333333333333382222222222222,
0777777,
07777777777777,
033333333333333,
);
foreach ($doubles as $d) {

View File

@ -43,7 +43,7 @@ $valid_ints = array(
0x7fffffff, // max positive integer as hexadecimal
0x7FFFFFFF, // max positive integer as hexadecimal
0123, // integer as octal
01912, // should be quivalent to octal 1
01, // should be quivalent to octal 1
-020000000000, // max negative integer as octal
017777777777 // max positive integer as octal
);

View File

@ -43,7 +43,7 @@ $valid_ints = array(
0x7fffffff, // max positive integer as hexadecimal
0x7FFFFFFF, // max positive integer as hexadecimal
0123, // integer as octal
01912, // should be quivalent to octal 1
01, // should be quivalent to octal 1
-020000000000, // max negative integer as octal
017777777777 // max positive integer as octal
);

View File

@ -44,7 +44,7 @@ $integer_values = array (
0x7fffffff, // max positive integer as hexadecimal
0x7FFFFFFF, // max positive integer as hexadecimal
0123, // integer as octal
01912, // should be quivalent to octal 1
01, // should be quivalent to octal 1
-020000000000, // max negative integer as octal
017777777777 // max positive integer as octal
);

View File

@ -28,7 +28,7 @@ $valid_ints = array(
'0x7fffffff', // max positive integer as hexadecimal
0x7FFFFFFF, // max positive integer as hexadecimal
'0123', // integer as octal
01912, // should be quivalent to octal 1
01, // should be quivalent to octal 1
-020000000000, // max negative integer as octal
017777777777, // max positive integer as octal
);

View File

@ -28,7 +28,7 @@ $valid_ints = array(
0x7fffffff, // max positive integer as hexadecimal
0x7FFFFFFF, // max positive integer as hexadecimal
0123, // integer as octal
01912, // should be quivalent to octal 1
01, // should be quivalent to octal 1
-020000000000, // max negative integer as octal
017777777777, // max positive integer as octal
);

View File

@ -22,7 +22,7 @@ $format2 = "%o %o";
$format3 = "%o %o %o";
$arg1 = 021;
$arg2 = -0347;
$arg3 = 05678;
$arg3 = 0567;
echo "\n-- Calling printf() with no arguments --\n";
$result = printf($format);