summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math/pow_basic_64bit.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/math/pow_basic_64bit.phpt')
-rw-r--r--ext/standard/tests/math/pow_basic_64bit.phpt40
1 files changed, 20 insertions, 20 deletions
diff --git a/ext/standard/tests/math/pow_basic_64bit.phpt b/ext/standard/tests/math/pow_basic_64bit.phpt
index 3dc37c4774..95ecd8c487 100644
--- a/ext/standard/tests/math/pow_basic_64bit.phpt
+++ b/ext/standard/tests/math/pow_basic_64bit.phpt
@@ -9,18 +9,18 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
--FILE--
<?php
$bases = array(23,
- -23,
- 23.1,
- -23.1,
- 2.345e1,
- -2.345e1,
- 0x17,
- 027,
- "23",
- "23.45",
- "2.345e1",
- PHP_INT_MAX,
- -PHP_INT_MAX - 1);
+ -23,
+ 23.1,
+ -23.1,
+ 2.345e1,
+ -2.345e1,
+ 0x17,
+ 027,
+ "23",
+ "23.45",
+ "2.345e1",
+ PHP_INT_MAX,
+ -PHP_INT_MAX - 1);
$exponents = array(0,
1,
@@ -34,16 +34,16 @@ $exponents = array(0,
500,
-500,
2147483647,
- -2147483648);
+ -2147483648);
foreach($bases as $base) {
- echo "\n\nBase = $base";
- foreach($exponents as $exponent) {
- echo "\n..... Exponent = $exponent Result = ";
- $res = pow($base, $exponent);
- echo $res;
- }
- echo "\n\n";
+ echo "\n\nBase = $base";
+ foreach($exponents as $exponent) {
+ echo "\n..... Exponent = $exponent Result = ";
+ $res = pow($base, $exponent);
+ echo $res;
+ }
+ echo "\n\n";
}
?>
--EXPECT--