cvs: php4 /ext/standard/tests/math 001.phpt
| From: | Jeroen van Wolffelaar | Date: | Sun, 05 Aug 2001 20:27:24 +0000 |
| Subject: | cvs: php4 /ext/standard/tests/math 001.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6589@lists.php.net to get a copy of this message | ||
jeroen Sun Aug 5 16:27:24 2001 EDT
Modified files:
/php4/ext/standard/tests/math 001.phpt
Log:
Fix test
Index: php4/ext/standard/tests/math/001.phpt
diff -u php4/ext/standard/tests/math/001.phpt:1.3 php4/ext/standard/tests/math/001.phpt:1.4
--- php4/ext/standard/tests/math/001.phpt:1.3 Sun Aug 5 14:38:48 2001
+++ php4/ext/standard/tests/math/001.phpt Sun Aug 5 16:27:24 2001
@@ -17,7 +17,7 @@
1.5 === abs("-1.5")
-LONG_MIN+1 === abs(LONG_MIN-1)
-LONG_MIN === abs(LONG_MIN)
--LONG_MIN-1 === abs(LONG_MIN+1)
+-(LONG_MIN+1) === abs(LONG_MIN+1)
-1 === ceil(-1.5)
2 === ceil( 1.5)
-2 === floor(-1.5)