From 0fa10114df9de2b52e99bcea0457815013025747 Mon Sep 17 00:00:00 2001 From: andy wharmby Date: Mon, 12 Jan 2009 17:56:09 +0000 Subject: New math tests. Tested on Windows, Linux and Linux 64 bit --- ext/standard/tests/math/pow_basic2.phpt | 52 +++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 ext/standard/tests/math/pow_basic2.phpt (limited to 'ext/standard/tests/math/pow_basic2.phpt') diff --git a/ext/standard/tests/math/pow_basic2.phpt b/ext/standard/tests/math/pow_basic2.phpt new file mode 100644 index 0000000000..fc55caccad --- /dev/null +++ b/ext/standard/tests/math/pow_basic2.phpt @@ -0,0 +1,52 @@ +--TEST-- +Test pow() - basic function test pow() - with large exponents +--INI-- +precision=14 +--FILE-- + +===Done=== +--EXPECTF-- + +-- The following all result in INF -- +float(INF) +float(INF) +float(INF) + + +-- The following all result in 0 -- +float(0) +float(0) +float(0) +float(0) + + +-- The following all result in -0 -- +float(%s) + + +-- The following all result in -INF -- +float(-INF) +float(-INF) +===Done=== \ No newline at end of file -- cgit v1.2.1