1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00

fix tests: better float values

This commit is contained in:
Raghubansh Kumar
2007-11-02 03:06:13 +00:00
parent 0a071b1da0
commit 52f6591620
2 changed files with 10 additions and 10 deletions

View File

@@ -42,8 +42,8 @@ $values = array (
// float values
10.5,
-10.5,
10.5e10,
10.6E-10,
10.1234567e10,
10.7654321E-10,
.5,
// array values
@@ -128,11 +128,11 @@ string(3) "10."
string(5) "-10.5"
string(4) "-10."
-- Iteration 7 --
string(12) "105000000000"
string(12) "101234567000"
string(0) ""
-- Iteration 8 --
string(7) "1.06E-9"
string(6) "1.06E-"
string(13) "1.07654321E-9"
string(12) "1.07654321E-"
-- Iteration 9 --
string(3) "0.5"
string(2) "0."
@@ -240,11 +240,11 @@ unicode(3) "10."
unicode(5) "-10.5"
unicode(4) "-10."
-- Iteration 7 --
unicode(12) "105000000000"
unicode(12) "101234567000"
unicode(0) ""
-- Iteration 8 --
unicode(7) "1.06E-9"
unicode(6) "1.06E-"
unicode(13) "1.07654321E-9"
unicode(12) "1.07654321E-"
-- Iteration 9 --
unicode(3) "0.5"
unicode(2) "0."

View File

@@ -41,8 +41,8 @@ $values = array (
// float values
10.5,
-10.5,
10.5e10,
10.6E-10,
10.1234567e10,
10.7654321E-10,
.5,
// array values