wharmby         Tue Jun 16 11:37:15 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/standard/tests/math    pow_basic_64bit.phpt 
                                        pow_basic.phpt 
  Log:
  Fix typo in test 
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/pow_basic_64bit.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/math/pow_basic_64bit.phpt
diff -u php-src/ext/standard/tests/math/pow_basic_64bit.phpt:1.1.4.2 
php-src/ext/standard/tests/math/pow_basic_64bit.phpt:1.1.4.3
--- php-src/ext/standard/tests/math/pow_basic_64bit.phpt:1.1.4.2        Mon Jan 
12 17:56:45 2009
+++ php-src/ext/standard/tests/math/pow_basic_64bit.phpt        Tue Jun 16 
11:37:14 2009
@@ -11,7 +11,7 @@
 $bases = array(23,
                                -23,
                                23.1,
-                               -23,1,
+                               -23.1,
                                2.345e1,
                                -2.345e1,
                                0x17,
@@ -99,14 +99,14 @@
 
 
 
-Base = -23
+Base = -23.1
 ..... Exponent = 0 Result = 1
-..... Exponent = 1 Result = -23
-..... Exponent = -1 Result = -0.043478260869565
-..... Exponent = 2 Result = 529
-..... Exponent = -2 Result = 0.001890359168242
-..... Exponent = 3 Result = -12167
-..... Exponent = -3 Result = -8.2189529053999E-5
+..... Exponent = 1 Result = -23.1
+..... Exponent = -1 Result = -0.043290043290043
+..... Exponent = 2 Result = 533.61
+..... Exponent = -2 Result = 0.0018740278480538
+..... Exponent = 3 Result = -12326.391
+..... Exponent = -3 Result = -8.1126746668997E-5
 ..... Exponent = 2.5 Result = NAN
 ..... Exponent = -2.5 Result = NAN
 ..... Exponent = 500 Result = INF
@@ -116,23 +116,6 @@
 
 
 
-Base = 1
-..... Exponent = 0 Result = 1
-..... Exponent = 1 Result = 1
-..... Exponent = -1 Result = 1
-..... Exponent = 2 Result = 1
-..... Exponent = -2 Result = 1
-..... Exponent = 3 Result = 1
-..... Exponent = -3 Result = 1
-..... Exponent = 2.5 Result = 1
-..... Exponent = -2.5 Result = 1
-..... Exponent = 500 Result = 1
-..... Exponent = -500 Result = 1
-..... Exponent = 2147483647 Result = 1
-..... Exponent = -2147483648 Result = 1
-
-
-
 Base = 23.45
 ..... Exponent = 0 Result = 1
 ..... Exponent = 1 Result = 23.45
@@ -284,4 +267,4 @@
 ..... Exponent = 2147483647 Result = -INF
 ..... Exponent = -2147483648 Result = 0
 
-===Done===
\ No newline at end of file
+===Done===
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/pow_basic.phpt?r1=1.1.4.3&r2=1.1.4.4&diff_format=u
Index: php-src/ext/standard/tests/math/pow_basic.phpt
diff -u php-src/ext/standard/tests/math/pow_basic.phpt:1.1.4.3 
php-src/ext/standard/tests/math/pow_basic.phpt:1.1.4.4
--- php-src/ext/standard/tests/math/pow_basic.phpt:1.1.4.3      Mon Jan 12 
17:56:45 2009
+++ php-src/ext/standard/tests/math/pow_basic.phpt      Tue Jun 16 11:37:14 2009
@@ -11,7 +11,7 @@
 $bases = array(23,
                                -23,
                                23.1,
-                               -23,1,
+                               -23.1,
                                2.345e1,
                                -2.345e1,
                                0x17,
@@ -47,9 +47,7 @@
 }
 ?>
 ===Done===
---EXPECTF--
-
-
+--EXPECT--
 Base = 23
 ..... Exponent = 0 Result = 1
 ..... Exponent = 1 Result = 23
@@ -101,14 +99,14 @@
 
 
 
-Base = -23
+Base = -23.1
 ..... Exponent = 0 Result = 1
-..... Exponent = 1 Result = -23
-..... Exponent = -1 Result = -0.043478260869565
-..... Exponent = 2 Result = 529
-..... Exponent = -2 Result = 0.001890359168242
-..... Exponent = 3 Result = -12167
-..... Exponent = -3 Result = -8.2189529053999E-5
+..... Exponent = 1 Result = -23.1
+..... Exponent = -1 Result = -0.043290043290043
+..... Exponent = 2 Result = 533.61
+..... Exponent = -2 Result = 0.0018740278480538
+..... Exponent = 3 Result = -12326.391
+..... Exponent = -3 Result = -8.1126746668997E-5
 ..... Exponent = 2.5 Result = NAN
 ..... Exponent = -2.5 Result = NAN
 ..... Exponent = 500 Result = INF
@@ -118,23 +116,6 @@
 
 
 
-Base = 1
-..... Exponent = 0 Result = 1
-..... Exponent = 1 Result = 1
-..... Exponent = -1 Result = 1
-..... Exponent = 2 Result = 1
-..... Exponent = -2 Result = 1
-..... Exponent = 3 Result = 1
-..... Exponent = -3 Result = 1
-..... Exponent = 2.5 Result = 1
-..... Exponent = -2.5 Result = 1
-..... Exponent = 500 Result = 1
-..... Exponent = -500 Result = 1
-..... Exponent = 2147483647 Result = 1
-..... Exponent = -2147483648 Result = 1
-
-
-
 Base = 23.45
 ..... Exponent = 0 Result = 1
 ..... Exponent = 1 Result = 23.45



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to