summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-10-05 23:37:08 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-10-05 23:37:08 +0000
commita1c2b86701b140e1fcfe47bcbf6dd7cd0c593bec (patch)
tree023252e68e3d299570de7c1427b3e0c30b72f289 /ext
parent91880600c790685537ecf1175042628e02f97162 (diff)
downloadphp-git-a1c2b86701b140e1fcfe47bcbf6dd7cd0c593bec.tar.gz
Fix the pow-test, it now succeeds on my machine
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/tests/math/pow.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/math/pow.phpt b/ext/standard/tests/math/pow.phpt
index 150db4ad38..efaf500521 100644
--- a/ext/standard/tests/math/pow.phpt
+++ b/ext/standard/tests/math/pow.phpt
@@ -126,7 +126,7 @@ FALSE ===@pow(LONG_MIN+1,1.0)
(LONG_MAX-1)*(LONG_MAX-1) === pow(LONG_MAX-1,2.0)
FALSE ===@pow(LONG_MIN+1,2.0)
LONG_MAX === pow(LONG_MAX,1)
-LONG_MIN === pow(LONG_MIN,1)
+LONG_MIN ~== pow(LONG_MIN,1)
LONG_MAX*LONG_MAX === pow(LONG_MAX,2)
LONG_MIN*LONG_MIN === pow(LONG_MIN,2)
(float)LONG_MAX === pow(LONG_MAX,1.0)