From c105f7142fc503277eeb6f42a1faddf3f227d011 Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Sat, 4 Aug 2001 21:40:34 +0000 Subject: Better abs() testing --- ext/standard/tests/math/001.phpt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ext/standard/tests/math/001.phpt b/ext/standard/tests/math/001.phpt index dee4217342..ccd19dc600 100644 --- a/ext/standard/tests/math/001.phpt +++ b/ext/standard/tests/math/001.phpt @@ -8,6 +8,9 @@ Simple math tests echo abs(-1.5) . "\n"; echo abs("-1") . "\n"; echo abs("-1.5") . "\n"; + echo abs(-2147483647) . "\n"; + echo abs(-2147483648) . "\n"; + echo abs(-2147483649) . "\n"; echo ceil(-1.5) . "\n"; echo ceil(1.5) . "\n"; echo floor(-1.5) . "\n"; @@ -19,6 +22,9 @@ Simple math tests 1.5 1 1.5 +2147483647 +2147483648 +2147483649 -1 2 -2 -- cgit v1.2.1