iliaa Sun Sep 29 17:45:55 2002 EDT Modified files: /php4/ext/standard/tests/math floorceil.phpt Log: Removed the ceil(-0.5); test. The return value is depedant on system's libc and even when proper value '-0' is returned, var_dump() converts it to 0 anyway. Index: php4/ext/standard/tests/math/floorceil.phpt diff -u php4/ext/standard/tests/math/floorceil.phpt:1.2 php4/ext/standard/tests/math/floorceil.phpt:1.3 --- php4/ext/standard/tests/math/floorceil.phpt:1.2 Sun Sep 29 15:21:10 2002 +++ php4/ext/standard/tests/math/floorceil.phpt Sun Sep 29 17:45:54 2002 @@ -4,9 +4,9 @@ --GET-- --FILE-- <?php - $a = ceil (-0); $b = ceil (-0.5); $c = ceil (-1); - $d = ceil (-1.5); $e = ceil (-1.8); $f = ceil (-2.7); - var_dump ($a, $b, $c, $d, $e, $f); + $a = ceil (-0); $b = ceil (-1); $c = ceil (-1.5); + $d = ceil (-1.8); $e = ceil (-2.7); + var_dump ($a, $b, $c, $d, $e); $a = ceil (0); $b = ceil (0.5); $c = ceil (1); $d = ceil (1.5); $e = ceil (1.8); $f = ceil (2.7); @@ -21,7 +21,6 @@ var_dump ($a, $b, $c, $d, $e, $f); ?> --EXPECT-- -float(0) float(0) float(-1) float(-1)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php