]> granicus.if.org Git - php/commitdiff
Use serialize_precision for var_dump()
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 12 Feb 2020 09:27:28 +0000 (10:27 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 25 Feb 2020 08:51:32 +0000 (09:51 +0100)
var_dump() is debugging functionality, so it should print
floating-point numbers accurately. We do this by switching
to serialize_precision, which (by default) will print with
as much precision as necessary to preserve the exact value
of the float.

This also affects debug_zval_dump().

Closes GH-5172.

111 files changed:
UPGRADING
Zend/tests/add_005.phpt
Zend/tests/binary-32bit.phpt
Zend/tests/binary.phpt
Zend/tests/decrement_001_64bit.phpt
Zend/tests/div_001.phpt
Zend/tests/hex_overflow_32bit.phpt
Zend/tests/numeric_string_errors.phpt
Zend/tests/numeric_string_errors_assign.phpt
Zend/tests/type_declarations/scalar_return_basic_64bit.phpt
Zend/tests/type_declarations/scalar_strict_64bit.phpt
Zend/tests/zend_signed_multiply-64bit-2.phpt
Zend/tests/zend_signed_multiply-64bit.phpt
Zend/tests/zend_strtod.phpt
ext/exif/tests/float_cast_overflow.phpt
ext/json/tests/008.phpt
ext/json/tests/bug63737.phpt
ext/mysqli/tests/010.phpt
ext/standard/tests/array/001.phpt
ext/standard/tests/array/002.phpt
ext/standard/tests/array/003.phpt
ext/standard/tests/array/array_combine_variation5.phpt
ext/standard/tests/array/array_diff_assoc_variation6.phpt
ext/standard/tests/array/array_diff_variation8.phpt
ext/standard/tests/array/array_map_variation5.phpt
ext/standard/tests/array/array_merge_recursive_variation5.phpt
ext/standard/tests/array/array_product_variation3.phpt
ext/standard/tests/array/array_reverse_variation5.phpt
ext/standard/tests/array/array_unique_variation4.phpt
ext/standard/tests/array/array_unshift_variation5.phpt
ext/standard/tests/array/bug35014.phpt
ext/standard/tests/array/bug35014_64bit.phpt
ext/standard/tests/array/range.phpt
ext/standard/tests/array/range_variation.phpt
ext/standard/tests/general_functions/008.phpt
ext/standard/tests/general_functions/gettype_settype_variation3.phpt
ext/standard/tests/math/abs_basiclong_64bit.phpt
ext/standard/tests/math/acos_variation.phpt
ext/standard/tests/math/acosh_basiclong_64bit.phpt
ext/standard/tests/math/acosh_variation.phpt
ext/standard/tests/math/asin_variation.phpt
ext/standard/tests/math/asinh_basiclong_64bit.phpt
ext/standard/tests/math/asinh_variation.phpt
ext/standard/tests/math/atan2_basic.phpt
ext/standard/tests/math/atan2_basiclong_64bit.phpt
ext/standard/tests/math/atan_basiclong_64bit.phpt
ext/standard/tests/math/atan_variation.phpt
ext/standard/tests/math/bindec_basiclong_64bit.phpt
ext/standard/tests/math/ceil_basiclong_64bit.phpt
ext/standard/tests/math/constants_basic.phpt
ext/standard/tests/math/cos_basiclong_64bit.phpt
ext/standard/tests/math/cos_variation.phpt
ext/standard/tests/math/cosh_variation.phpt
ext/standard/tests/math/deg2rad_basiclong_64bit.phpt
ext/standard/tests/math/deg2rad_variation.phpt
ext/standard/tests/math/exp_basic.phpt
ext/standard/tests/math/expm1_basic.phpt
ext/standard/tests/math/fdiv.phpt
ext/standard/tests/math/floor_basiclong_64bit.phpt
ext/standard/tests/math/fmod_basic.phpt
ext/standard/tests/math/fmod_basiclong_64bit.phpt
ext/standard/tests/math/hexdec_basiclong_64bit.phpt
ext/standard/tests/math/hypot_basic.phpt
ext/standard/tests/math/hypot_basiclong_64bit.phpt
ext/standard/tests/math/log10_basiclong_64bit.phpt
ext/standard/tests/math/log10_variation.phpt
ext/standard/tests/math/log1p_basic.phpt
ext/standard/tests/math/log1p_basiclong_64bit.phpt
ext/standard/tests/math/log_basic.phpt
ext/standard/tests/math/log_basiclong_64bit.phpt
ext/standard/tests/math/octdec_basiclong_64bit.phpt
ext/standard/tests/math/pow_basiclong_64bit.phpt
ext/standard/tests/math/pow_variation1.phpt
ext/standard/tests/math/pow_variation1_64bit.phpt
ext/standard/tests/math/pow_variation2.phpt
ext/standard/tests/math/rad2deg_basiclong_64bit.phpt
ext/standard/tests/math/rad2deg_variation.phpt
ext/standard/tests/math/round_basiclong_64bit.phpt
ext/standard/tests/math/sin_basiclong_64bit.phpt
ext/standard/tests/math/sin_variation.phpt
ext/standard/tests/math/sinh_variation.phpt
ext/standard/tests/math/sqrt_basiclong_64bit.phpt
ext/standard/tests/math/sqrt_variation.phpt
ext/standard/tests/math/tan_basiclong_64bit.phpt
ext/standard/tests/math/tan_variation.phpt
ext/standard/tests/math/tanh_variation.phpt
ext/standard/tests/serialize/003.phpt
ext/standard/tests/serialize/serialization_arrays_001.phpt
ext/standard/tests/serialize/serialization_miscTypes_001.phpt
ext/standard/tests/serialize/serialization_objects_001.phpt
ext/standard/tests/serialize/serialization_objects_002.phpt
ext/standard/tests/serialize/serialization_objects_003.phpt
ext/standard/tests/strings/pack_float.phpt
ext/standard/tests/strings/similar_text_basic.phpt
ext/standard/var.c
run-tests.php
tests/lang/bug24640.phpt
tests/lang/operators/add_basiclong_64bit.phpt
tests/lang/operators/add_variationStr.phpt
tests/lang/operators/divide_basiclong_64bit.phpt
tests/lang/operators/divide_variationStr.phpt
tests/lang/operators/multiply_basiclong_64bit.phpt
tests/lang/operators/multiply_variationStr.phpt
tests/lang/operators/negate_basiclong_64bit.phpt
tests/lang/operators/postdec_basiclong_64bit.phpt
tests/lang/operators/postdec_variationStr.phpt
tests/lang/operators/postinc_basiclong_64bit.phpt
tests/lang/operators/predec_basiclong_64bit.phpt
tests/lang/operators/predec_variationStr.phpt
tests/lang/operators/preinc_basiclong_64bit.phpt
tests/lang/operators/subtract_basiclong_64bit.phpt

index 9275d20df98778ab1806f5898600b87c39d673b8..2696cf83767812c0c0d018a7026d4c39ec9ce95f 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -342,6 +342,10 @@ PHP 8.0 UPGRADE NOTES
         http://example.com/foo?# => query = "",   fragment = ""
 
     Previously all cases resulted in query and fragment being null.
+  . var_dump() and debug_zval_dump() will now print floating-point numbers
+    using serialize_precision rather than precision. In a default configuration,
+    this means that floating-point numbers are now printed with full accuracy
+    by these debugging functions.
 
 - tidy:
   . The $use_include_path parameter, which was not used internally, has been
index f5c20124cc75a42fe6dad1a8fcbe40c053f0f8d3..6981d7656f60a17cfb636b72a17064dbc7668648 100644 (file)
@@ -17,6 +17,6 @@ var_dump($c);
 echo "Done\n";
 ?>
 --EXPECT--
-float(2834756759.1231)
-float(2834756759.1231)
+float(2834756759.123123)
+float(2834756759.123123)
 Done
index 4b87aded4fc76a7c5a826d4cb276f37242e4e02b..c66e863eb598a1b5465a31bad7e72c60974eba8d 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 testing binary literals
---INI--
-precision=14
 --SKIPIF--
 <?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?>
 --FILE--
@@ -126,27 +124,27 @@ float(8796093022207)
 float(17592186044415)
 float(35184372088831)
 float(70368744177663)
-float(1.4073748835533E+14)
-float(2.8147497671066E+14)
-float(5.6294995342131E+14)
-float(1.1258999068426E+15)
-float(2.2517998136852E+15)
-float(4.5035996273705E+15)
-float(9.007199254741E+15)
-float(1.8014398509482E+16)
-float(3.6028797018964E+16)
-float(7.2057594037928E+16)
-float(1.4411518807586E+17)
-float(2.8823037615171E+17)
-float(5.7646075230342E+17)
-float(1.1529215046068E+18)
-float(2.3058430092137E+18)
-float(4.6116860184274E+18)
-float(9.2233720368548E+18)
-float(1.844674407371E+19)
-float(-1.844674407371E+19)
-float(-9.2233720368548E+18)
-float(-4.6116860184274E+18)
+float(140737488355327)
+float(281474976710655)
+float(562949953421311)
+float(1125899906842623)
+float(2251799813685247)
+float(4503599627370495)
+float(9007199254740992)
+float(18014398509481984)
+float(36028797018963970)
+float(72057594037927940)
+float(1.4411518807585587E+17)
+float(2.8823037615171174E+17)
+float(5.764607523034234E+17)
+float(1.1529215046068468E+18)
+float(2.3058430092136937E+18)
+float(4.6116860184273874E+18)
+float(9.223372036854775E+18)
+float(1.844674407370955E+19)
+float(-1.844674407370955E+19)
+float(-9.223372036854775E+18)
+float(-4.6116860184273874E+18)
 float(-8589934591)
 float(-4294967295)
 int(-2147483647)
index 039cf80ce41e0aaa8ab2f8485353ca46447dc914..2dcbf184136d0c1fc444f3797ab563cbe85b91e1 100644 (file)
@@ -143,12 +143,12 @@ int(1152921504606846975)
 int(2305843009213693951)
 int(4611686018427387903)
 int(9223372036854775807)
-float(9223372036854775808)
-float(18446744073709549568)
-float(18446744073709549568)
-float(36893488147419099136)
-float(36893488147419099136)
-float(-18446744073709549568)
+float(9.223372036854776E+18)
+float(1.844674407370955E+19)
+float(1.844674407370955E+19)
+float(3.68934881474191E+19)
+float(3.68934881474191E+19)
+float(-1.844674407370955E+19)
 int(-9223372036854775807)
 int(-4611686018427387903)
 int(-1)
index cce9875a785b57cdeb68dbd959642a677fc31619..2b2100932a3c195bfe2795c36bc5ecfecb9a7a84 100644 (file)
@@ -55,6 +55,6 @@ object(stdClass)#%d (0) {
 }
 array(0) {
 }
-float(-9.2233720368548E+18)
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
+float(-9.223372036854776E+18)
 Done
index 051ed3f733995d5193a9ed365405c870a7e96f27..11cf897541f74b5c8e85288010564dde7e351d22 100644 (file)
@@ -26,7 +26,7 @@ var_dump($c);
 echo "Done\n";
 ?>
 --EXPECT--
-float(394758.39454545)
-float(394758.39454545)
-float(394758.39454545)
+float(394758.39454545453)
+float(394758.39454545453)
+float(394758.39454545453)
 Done
index 4d4e95818c17c1d3d9e2c0fe2b85bd2db6a7f42f..71be6dc0515298bc9e5c3676b456d1032a682ffd 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 testing integer overflow (32bit)
 --INI--
-precision=14
+serialize_precision=14
 --SKIPIF--
 <?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?>
 --FILE--
index 15dcd0446148190cc807a657e8afd212c93e290a..83c948981b8bd1893f82669a546fa45576bf950b 100644 (file)
@@ -88,7 +88,7 @@ int(0)
 Notice: A non well formed numeric value encountered in %s on line %d
 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(0.89473684210526)
+float(0.8947368421052632)
 
 Warning: A non-numeric value encountered in %s on line %d
 
@@ -101,7 +101,7 @@ float(NAN)
 Notice: A non well formed numeric value encountered in %s on line %d
 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(3.0910586430935E+39)
+float(3.0910586430935376E+39)
 
 Warning: A non-numeric value encountered in %s on line %d
 
index b13a7ec71785411a17fa30c73fe0dc5776e49d97..69be0c114dd846945551aefd9fe712808376bb44 100644 (file)
@@ -143,7 +143,7 @@ int(0)
 Notice: A non well formed numeric value encountered in %s on line %d
 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(0.89473684210526)
+float(0.8947368421052632)
 
 Warning: A non-numeric value encountered in %s on line %d
 
@@ -156,7 +156,7 @@ float(NAN)
 Notice: A non well formed numeric value encountered in %s on line %d
 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(3.0910586430935E+39)
+float(3.0910586430935376E+39)
 
 Warning: A non-numeric value encountered in %s on line %d
 
index fa7aacdef3f4988358adc146433664d848149a0e..ad987e58da59666c3f006cf918d7717fe66cab89 100644 (file)
@@ -117,7 +117,7 @@ float(1)
 *** Trying string(0) ""
 *** Caught Return value of {closure}() must be of type float, string returned in %s on line %d
 *** Trying int(9223372036854775807)
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 *** Trying float(NAN)
 float(NAN)
 *** Trying bool(true)
index 0f39700b7f3261790459e021db1b2b199ffb541f..2d00b6f23b1a233b430c05a48c50e3dff8b50dc6 100644 (file)
@@ -131,7 +131,7 @@ float(1.5)
 *** Caught {closure}() expects argument #1 ($f) to be of type float, string given, called in %s on line %d
 
 *** Trying int(9223372036854775807)
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 
 *** Trying float(NAN)
 float(NAN)
index ff0e88a78dc4197b1de40f65955ea75722ce75b1..dab3050ed4ed36428c8dae8d379af82640366ad4 100644 (file)
@@ -16,27 +16,27 @@ for($c = 0; $c <= 16; $c++) {
 --EXPECT--
 int(-16)
 int(-922337203685477580)
-float(1.4757395258968E+19)
+float(1.4757395258967642E+19)
 -----------
 int(-15)
 int(-922337203685477580)
-float(1.3835058055282E+19)
+float(1.3835058055282164E+19)
 -----------
 int(-14)
 int(-922337203685477580)
-float(1.2912720851597E+19)
+float(1.2912720851596687E+19)
 -----------
 int(-13)
 int(-922337203685477580)
-float(1.1990383647911E+19)
+float(1.1990383647911209E+19)
 -----------
 int(-12)
 int(-922337203685477580)
-float(1.1068046444226E+19)
+float(1.1068046444225733E+19)
 -----------
 int(-11)
 int(-922337203685477580)
-float(1.014570924054E+19)
+float(1.0145709240540254E+19)
 -----------
 int(-10)
 int(-922337203685477580)
@@ -124,25 +124,25 @@ int(9223372036854775800)
 -----------
 int(11)
 int(922337203685477580)
-float(1.014570924054E+19)
+float(1.0145709240540254E+19)
 -----------
 int(12)
 int(922337203685477580)
-float(1.1068046444226E+19)
+float(1.1068046444225733E+19)
 -----------
 int(13)
 int(922337203685477580)
-float(1.1990383647911E+19)
+float(1.1990383647911209E+19)
 -----------
 int(14)
 int(922337203685477580)
-float(1.2912720851597E+19)
+float(1.2912720851596687E+19)
 -----------
 int(15)
 int(922337203685477580)
-float(1.3835058055282E+19)
+float(1.3835058055282164E+19)
 -----------
 int(16)
 int(922337203685477580)
-float(1.4757395258968E+19)
+float(1.4757395258967642E+19)
 -----------
index 20ef277770c165ac7dbfd052c788efa3d625af18..615c67b9669a8250a7e9e6a1b9116cf5d0a77571 100644 (file)
@@ -11,4 +11,4 @@ var_dump(0x80000001 * -0xffffffff);
 --EXPECT--
 int(-9223372034707292160)
 int(9223372036854775806)
-float(-9.2233720390023E+18)
+float(-9.22337203900226E+18)
index 4530ce2e8ce5c38d78770c0c069f10741fe6a221..af7b612844c84062dc3fa8f73d6a30f3546bc64c 100644 (file)
@@ -14,6 +14,6 @@ echo "Done\n";
 --EXPECT--
 float(-100)
 float(808792757210)
-float(-4.5646456464565E+27)
-float(-1.1276204760067E+16)
+float(-4.5646456464564635E+27)
+float(-11276204760067310)
 Done
index 112191437dcaecdaa0f40d064762ff45244bacdb..8f5893eb910525dfa63419942402d6c4ec07d180 100644 (file)
@@ -38,6 +38,6 @@ array(8) {
     ["ImageWidth"]=>
     int(1)
     ["ImageLength"]=>
-    float(-2.5961487387524E+33)
+    float(-2.5961487387524236E+33)
   }
 }
index f2354d381f7ed79eae1eb63484b2a1db9fee342c..6cfd91b89ce3ca2586ceacafb31739a9d5dce37f 100644 (file)
@@ -12,6 +12,6 @@ var_dump($x->largenum);
 echo "Done\n";
 ?>
 --EXPECT--
-float(1.2345678901235E+29)
+float(1.2345678901234568E+29)
 string(30) "123456789012345678901234567890"
 Done
index 1fb06d485e3fa5294894ca18f2cb2b31b25105aa..c7a60a28c4379d60d7e5a194f344847347728896 100644 (file)
@@ -21,12 +21,12 @@ decode('-123456789012345678901234567890.1');
 echo "Done\n";
 ?>
 --EXPECT--
-float(1.2345678901235E+29)
+float(1.2345678901234568E+29)
 string(30) "123456789012345678901234567890"
-float(-1.2345678901235E+29)
+float(-1.2345678901234568E+29)
 string(31) "-123456789012345678901234567890"
-float(1.2345678901235E+29)
-float(1.2345678901235E+29)
-float(-1.2345678901235E+29)
-float(-1.2345678901235E+29)
+float(1.2345678901234568E+29)
+float(1.2345678901234568E+29)
+float(-1.2345678901234568E+29)
+float(-1.2345678901234568E+29)
 Done
index 3b55d0801c714214b49d8dee8457066eb9c30b53..4da24b680add6ac5a48f7b476c467bdaa7820887 100644 (file)
@@ -68,12 +68,12 @@ array(7) {
   [2]=>
   float(0)
   [3]=>
-  float(1.0E+12)
+  float(1000000000000)
   [4]=>
   float(0.564642)
   [5]=>
   float(1)
   [6]=>
-  float(8.88889E+14)
+  float(888889000000000)
 }
 done!
index 3b9804655b8c8e02e41718113010ccd3ed6ffe1f..c88aee367fad724ed934b419ec34be968b64bf11 100644 (file)
@@ -65,7 +65,7 @@ array(11) {
   [5]=>
   string(6) "monkey"
   [6]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [7]=>
   array(1) {
     [0]=>
@@ -121,7 +121,7 @@ array(2) {
 int(5)
 string(6) "monkey"
 int(6)
-float(-0.33333333333333)
+float(-0.3333333333333333)
 int(7)
 array(1) {
   [0]=>
index 589514ae03b2abb4c4383586dfb9d6738419f3ec..0f799f396c5243d333e8deb530def8e220e44353 100644 (file)
@@ -52,7 +52,7 @@ array(8) {
   [1001]=>
   string(6) "monkey"
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
 }
 
  -- Testing arsort() -- 
@@ -78,7 +78,7 @@ array(8) {
   [0]=>
   string(3) "PHP"
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
 }
 Using SORT_REGULAR:
 array(8) {
@@ -102,7 +102,7 @@ array(8) {
   [0]=>
   string(3) "PHP"
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
 }
 Using SORT_NUMERIC:
 array(8) {
@@ -126,7 +126,7 @@ array(8) {
   [0]=>
   string(3) "PHP"
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
 }
 Using SORT_STRING
 
@@ -162,14 +162,14 @@ array(8) {
   ["test"]=>
   int(27)
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
 }
 
  -- Testing asort() -- 
 No second argument:
 array(8) {
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [0]=>
   string(3) "PHP"
   [17]=>
@@ -193,7 +193,7 @@ array(8) {
 Using SORT_REGULAR:
 array(8) {
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [0]=>
   string(3) "PHP"
   [17]=>
@@ -217,7 +217,7 @@ array(8) {
 Using SORT_NUMERIC:
 array(8) {
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [0]=>
   string(3) "PHP"
   [17]=>
@@ -251,7 +251,7 @@ Warning: Array to string conversion in %s on line %d
 Warning: Array to string conversion in %s on line %d
 array(8) {
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   ["test"]=>
   int(27)
   [-1000]=>
@@ -277,7 +277,7 @@ array(8) {
 No second argument:
 array(8) {
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [1001]=>
   string(6) "monkey"
   [1000]=>
@@ -301,7 +301,7 @@ array(8) {
 Using SORT_REGULAR:
 array(8) {
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [1001]=>
   string(6) "monkey"
   [1000]=>
@@ -325,7 +325,7 @@ array(8) {
 Using SORT_NUMERIC:
 array(8) {
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [1001]=>
   string(6) "monkey"
   [1000]=>
@@ -355,7 +355,7 @@ array(8) {
   [17]=>
   string(27) "PHP: Hypertext Preprocessor"
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [1001]=>
   string(6) "monkey"
   [1000]=>
@@ -394,7 +394,7 @@ array(8) {
   [1001]=>
   string(6) "monkey"
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
 }
 Using SORT_REGULAR:
 array(8) {
@@ -418,7 +418,7 @@ array(8) {
   [1001]=>
   string(6) "monkey"
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
 }
 Using SORT_NUMERIC:
 array(8) {
@@ -442,7 +442,7 @@ array(8) {
   [1001]=>
   string(6) "monkey"
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
 }
 Using SORT_STRING
 array(8) {
@@ -460,7 +460,7 @@ array(8) {
   [1001]=>
   string(6) "monkey"
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [17]=>
   string(27) "PHP: Hypertext Preprocessor"
   [5]=>
@@ -492,7 +492,7 @@ array(8) {
   [6]=>
   string(3) "PHP"
   [7]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
 }
 Using SORT_REGULAR:
 array(8) {
@@ -516,7 +516,7 @@ array(8) {
   [6]=>
   string(3) "PHP"
   [7]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
 }
 Using SORT_NUMERIC:
 array(8) {
@@ -540,7 +540,7 @@ array(8) {
   [6]=>
   string(3) "PHP"
   [7]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
 }
 Using SORT_STRING
 
@@ -576,14 +576,14 @@ array(8) {
   [6]=>
   int(27)
   [7]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
 }
 
  -- Testing sort() -- 
 No second argument:
 array(8) {
   [0]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [1]=>
   string(3) "PHP"
   [2]=>
@@ -607,7 +607,7 @@ array(8) {
 Using SORT_REGULAR:
 array(8) {
   [0]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [1]=>
   string(3) "PHP"
   [2]=>
@@ -631,7 +631,7 @@ array(8) {
 Using SORT_NUMERIC:
 array(8) {
   [0]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [1]=>
   string(3) "PHP"
   [2]=>
@@ -665,7 +665,7 @@ Warning: Array to string conversion in %s on line %d
 Warning: Array to string conversion in %s on line %d
 array(8) {
   [0]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [1]=>
   int(27)
   [2]=>
index cce2d4922c520943e38b7f73a799c1e06c669284..2cea8034bb10c54e7ebc57a4c4c9f49a4c86a2ac 100644 (file)
@@ -31,7 +31,7 @@ var_dump ($data);
 -- Testing uasort() -- 
 array(8) {
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [-1000]=>
   array(2) {
     [0]=>
@@ -69,7 +69,7 @@ array(8) {
   [1001]=>
   string(6) "monkey"
   [16777216]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [17]=>
   string(27) "PHP: Hypertext Preprocessor"
   [5]=>
@@ -81,7 +81,7 @@ array(8) {
  -- Testing usort() -- 
 array(8) {
   [0]=>
-  float(-0.33333333333333)
+  float(-0.3333333333333333)
   [1]=>
   array(2) {
     [0]=>
index db5c90df34edbfe8315f5ae4f9d0281ebae13753..cb399cbc56b68efcd6fdfbb4ea69f7e577414cf1 100644 (file)
@@ -117,7 +117,7 @@ array(4) {
   ["3.33"]=>
   float(3.33)
   ["4.8999992284"]=>
-  float(4.8999992284)
+  float(4.89999922839999)
   ["33333333.333"]=>
   float(33333333.333)
 }
index b4ef6d2304cc3248a1807e060f830bc4fbd23617..f66dea6a83e24928f988b93844673a9a1390c7b8 100644 (file)
@@ -83,7 +83,7 @@ array(2) {
   [0]=>
   string(4) "zero"
   ["two"]=>
-  float(2)
+  float(2.00000000000001)
 }
 array(3) {
   [0]=>
@@ -97,7 +97,7 @@ array(3) {
 -- Iteration 2 --
 array(1) {
   ["two"]=>
-  float(2)
+  float(2.00000000000001)
 }
 array(2) {
   [2]=>
@@ -109,7 +109,7 @@ array(2) {
 -- Iteration 3 --
 array(1) {
   ["two"]=>
-  float(2)
+  float(2.00000000000001)
 }
 array(2) {
   [2]=>
@@ -123,7 +123,7 @@ array(2) {
   [0]=>
   string(4) "zero"
   ["two"]=>
-  float(2)
+  float(2.00000000000001)
 }
 array(2) {
   [0]=>
@@ -137,7 +137,7 @@ array(2) {
   [0]=>
   string(4) "zero"
   ["two"]=>
-  float(2)
+  float(2.00000000000001)
 }
 array(2) {
   [2]=>
@@ -161,11 +161,11 @@ array(2) {
   [0]=>
   string(4) "zero"
   ["two"]=>
-  float(2)
+  float(2.00000000000001)
 }
 array(2) {
   [0]=>
-  float(2)
+  float(2.00000000000001)
   [2]=>
   float(1.0E-11)
 }
@@ -175,11 +175,11 @@ array(2) {
   [0]=>
   string(4) "zero"
   ["two"]=>
-  float(2)
+  float(2.00000000000001)
 }
 array(2) {
   [2]=>
-  float(2)
+  float(2.00000000000001)
   [0]=>
   float(1.0E-11)
 }
index db06ee647359e1747ddf201da65955ac2b027647..e1ebf548da4ff619359f1b37649e107603bb0206 100644 (file)
@@ -122,7 +122,7 @@ array(4) {
   ["f2"]=>
   float(3.33)
   [3]=>
-  float(4.8999992284)
+  float(4.89999922839999)
   ["f4"]=>
   float(1.2)
 }
index e286095576af9c4d5c4d96ed97c875755d92d336..a8ea43be6dba2b1634263eb881f61bb067294565 100644 (file)
@@ -114,7 +114,7 @@ array(4) {
   ["f2"]=>
   float(3.33)
   [3]=>
-  float(4.8999992284)
+  float(4.89999922839999)
   ["f4"]=>
   float(33333333.3333)
 }
index 34cdfe409fe9375d20906dee0e4bdf3064fdfe04..6f6da8b58bd3427434d3670e396b385a996cf230 100644 (file)
@@ -199,7 +199,7 @@ array(4) {
   ["f2"]=>
   float(3.33)
   [0]=>
-  float(4.8999992284)
+  float(4.89999922839999)
   ["f4"]=>
   array(2) {
     [0]=>
@@ -215,7 +215,7 @@ array(8) {
   ["f2"]=>
   float(3.33)
   [0]=>
-  float(4.8999992284)
+  float(4.89999922839999)
   ["f4"]=>
   array(2) {
     [0]=>
index 588e46249e748febf54db29f83ed622cb6aa6570..fe7b64da721ce0f1fe41ce6908acf8441a0114b3 100644 (file)
@@ -43,4 +43,4 @@ int(-24)
 float(-1.5)
 
 -- Testing array_product() function with negative floats --
-float(-9.9999999E+15)
+float(-9999999900000000)
index dbd316ab8a2a23d17742cd0c8216bc14563a3254..66255e94c278b664c97fb562263cb709142d1c85 100644 (file)
@@ -181,9 +181,9 @@ array(1) {
 - default argument -
 array(4) {
   ["f4"]=>
-  float(33333333.3333)
+  float(33333333.333333)
   [0]=>
-  float(4.8999992284)
+  float(4.89999922839999)
   ["f2"]=>
   float(3.33)
   ["f1"]=>
@@ -192,9 +192,9 @@ array(4) {
 - $preserve keys = true -
 array(4) {
   ["f4"]=>
-  float(33333333.3333)
+  float(33333333.333333)
   [3]=>
-  float(4.8999992284)
+  float(4.89999922839999)
   ["f2"]=>
   float(3.33)
   ["f1"]=>
@@ -203,9 +203,9 @@ array(4) {
 - $preserve_keys = false -
 array(4) {
   ["f4"]=>
-  float(33333333.3333)
+  float(33333333.333333)
   [0]=>
-  float(4.8999992284)
+  float(4.89999922839999)
   ["f2"]=>
   float(3.33)
   ["f1"]=>
index 752ebf54eaf1fbbe45ed2917c54d213b4645fcba..53e73083365b810111b054c3b909615f918ce69a 100644 (file)
@@ -91,7 +91,7 @@ array(3) {
   ["f2"]=>
   float(3.33)
   [3]=>
-  float(4.8999992284)
+  float(4.89999922839999)
 }
 -- Iteration 5 --
 array(3) {
index 0cc30648642c99d0c7c2f1bc26a7d8fc4c80c516..022a39e5cc7940e19075e31f7319a23c03968e3d 100644 (file)
@@ -209,9 +209,9 @@ array(5) {
   ["f2"]=>
   float(3.33)
   [1]=>
-  float(4.8999992284)
+  float(4.89999922839999)
   ["f4"]=>
-  float(33333333.3333)
+  float(33333333.333333)
 }
 int(7)
 array(7) {
@@ -226,9 +226,9 @@ array(7) {
   ["f2"]=>
   float(3.33)
   [3]=>
-  float(4.8999992284)
+  float(4.89999922839999)
   ["f4"]=>
-  float(33333333.3333)
+  float(33333333.333333)
 }
 -- Iteration 7 --
 int(5)
index 8980f00d80d88070ad0a152b4408f1b8316e2445..f1f407081f52dfb7f778766a6872e4d17fedd2b2 100644 (file)
@@ -2,8 +2,6 @@
 Bug #35014 (array_product() always returns 0) (32bit)
 --SKIPIF--
 <?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?>
---INI--
-precision=14
 --FILE--
 <?php
 $tests = array(
@@ -27,6 +25,6 @@ int(0)
 int(3)
 int(9)
 float(1)
-float(9.9999998E+15)
-float(2.8404260053903E+20)
+float(9999999800000000)
+float(2.8404260053902914E+20)
 float(8589934590)
index 91face05afe95c762a6818dc9a687ad3ed44dff6..40d656d83509edcf5a354bdf1acdafb68b7d684d 100644 (file)
@@ -28,5 +28,5 @@ int(3)
 int(9)
 float(1)
 int(9999999800000001)
-float(1.219953680145E+30)
-float(3.6893488147419E+19)
+float(1.219953680144986E+30)
+float(3.6893488147419103E+19)
index 562335d099840d13ef652f2bc300ee57293b1bda..98770dc5b62a073e45aac6c5bf07d4033ed97c7f 100644 (file)
@@ -347,7 +347,7 @@ array(11) {
   [6]=>
   float(1.6)
   [7]=>
-  float(1.7)
+  float(1.7000000000000002)
   [8]=>
   float(1.8)
   [9]=>
@@ -371,7 +371,7 @@ array(11) {
   [6]=>
   float(1.4)
   [7]=>
-  float(1.3)
+  float(1.2999999999999998)
   [8]=>
   float(1.2)
   [9]=>
@@ -395,7 +395,7 @@ array(11) {
   [6]=>
   float(1.6)
   [7]=>
-  float(1.7)
+  float(1.7000000000000002)
   [8]=>
   float(1.8)
   [9]=>
@@ -419,7 +419,7 @@ array(11) {
   [6]=>
   float(1.6)
   [7]=>
-  float(1.7)
+  float(1.7000000000000002)
   [8]=>
   float(1.8)
   [9]=>
index a8c3fc1e0d4eb3a6557175597688b2eb0a3c51f6..e924a2784a040668fb8f76ce1da006e5e530fb65 100644 (file)
@@ -111,13 +111,13 @@ array(11) {
   [6]=>
   float(-4.5555)
   [7]=>
-  float(-3.5555)
+  float(-3.5555000000000003)
   [8]=>
-  float(-2.5555)
+  float(-2.5555000000000003)
   [9]=>
-  float(-1.5555)
+  float(-1.5555000000000003)
   [10]=>
-  float(-0.5555)
+  float(-0.5555000000000003)
 }
 
 -- creating an array with low = '-10.5555' and high = '-10.5555' --
@@ -143,15 +143,15 @@ array(12) {
   [6]=>
   float(-4.5555)
   [7]=>
-  float(-3.5555)
+  float(-3.5555000000000003)
   [8]=>
-  float(-2.5555)
+  float(-2.5555000000000003)
   [9]=>
-  float(-1.5555)
+  float(-1.5555000000000003)
   [10]=>
-  float(-0.5555)
+  float(-0.5555000000000003)
   [11]=>
-  float(0.4445)
+  float(0.4444999999999997)
 }
 
 -- creating an array with low = '-10.5555' and high = '' --
@@ -171,13 +171,13 @@ array(11) {
   [6]=>
   float(-4.5555)
   [7]=>
-  float(-3.5555)
+  float(-3.5555000000000003)
   [8]=>
-  float(-2.5555)
+  float(-2.5555000000000003)
   [9]=>
-  float(-1.5555)
+  float(-1.5555000000000003)
   [10]=>
-  float(-0.5555)
+  float(-0.5555000000000003)
 }
 
 -- creating an array with low = '-10.5555' and high = '' --
@@ -197,13 +197,13 @@ array(11) {
   [6]=>
   float(-4.5555)
   [7]=>
-  float(-3.5555)
+  float(-3.5555000000000003)
   [8]=>
-  float(-2.5555)
+  float(-2.5555000000000003)
   [9]=>
-  float(-1.5555)
+  float(-1.5555000000000003)
   [10]=>
-  float(-0.5555)
+  float(-0.5555000000000003)
 }
 
 -- creating an array with low = '-10.5555' and high = '' --
@@ -223,13 +223,13 @@ array(11) {
   [6]=>
   float(-4.5555)
   [7]=>
-  float(-3.5555)
+  float(-3.5555000000000003)
   [8]=>
-  float(-2.5555)
+  float(-2.5555000000000003)
   [9]=>
-  float(-1.5555)
+  float(-1.5555000000000003)
   [10]=>
-  float(-0.5555)
+  float(-0.5555000000000003)
 }
 
 -- creating an array with low = '-10.5555' and high = 'Array' --
@@ -249,15 +249,15 @@ array(12) {
   [6]=>
   float(-4.5555)
   [7]=>
-  float(-3.5555)
+  float(-3.5555000000000003)
   [8]=>
-  float(-2.5555)
+  float(-2.5555000000000003)
   [9]=>
-  float(-1.5555)
+  float(-1.5555000000000003)
   [10]=>
-  float(-0.5555)
+  float(-0.5555000000000003)
   [11]=>
-  float(0.4445)
+  float(0.4444999999999997)
 }
 
 -- creating an array with low = '1' and high = 'ABCD' --
index 1148f777f410ee482a203ed597a4480c8a9e0a93..45ffacbffe06a2d9343c5246618f8a6b06f8fa79 100644 (file)
@@ -34,7 +34,7 @@ array(14) {
   [11]=>
   float(123456789012)
   [12]=>
-  float(1.23456789012E+12)
+  float(1234567890123)
   [13]=>
-  float(1.23456789012E+19)
+  float(1.2345678901234567E+19)
 }
index f17b261437ab3bdc0ed7c3069cae22003fde4aa8..60c1d76cc69554d2638b27f247ba63f5e7ce2a7d 100644 (file)
@@ -4,8 +4,6 @@ Test gettype() & settype() functions : usage variations
 <?php
 if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
 ?>
---INI--
-precision=14
 --FILE--
 <?php
 /* Prototype: string gettype ( mixed $var );
@@ -278,7 +276,7 @@ string(6) "double"
 -- Iteration 20 --
 string(6) "string"
 bool(true)
-float(2.9743947493287E+21)
+float(2.974394749328742E+21)
 string(6) "double"
 -- Iteration 21 --
 string(6) "string"
@@ -308,7 +306,7 @@ string(6) "double"
 -- Iteration 26 --
 string(6) "string"
 bool(true)
-float(2.9743947493287E+21)
+float(2.974394749328742E+21)
 string(6) "double"
 -- Iteration 27 --
 string(6) "string"
@@ -673,7 +671,7 @@ string(6) "double"
 -- Iteration 20 --
 string(6) "string"
 bool(true)
-float(2.9743947493287E+21)
+float(2.974394749328742E+21)
 string(6) "double"
 -- Iteration 21 --
 string(6) "string"
@@ -703,7 +701,7 @@ string(6) "double"
 -- Iteration 26 --
 string(6) "string"
 bool(true)
-float(2.9743947493287E+21)
+float(2.974394749328742E+21)
 string(6) "double"
 -- Iteration 27 --
 string(6) "string"
index f3e72b062ae6fe9f6ec00d4a6433d03ee1fcc76e..e7d598826000ff2cdab2cfdedca0efee8dd6301e 100644 (file)
@@ -29,7 +29,7 @@ foreach ($longVals as $longVal) {
 --- testing: 9223372036854775807 ---
 int(9223372036854775807)
 --- testing: -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 2147483647 ---
 int(2147483647)
 --- testing: -2147483648 ---
@@ -51,8 +51,8 @@ int(4294967293)
 --- testing: 9223372036854775806 ---
 int(9223372036854775806)
 --- testing: 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807 ---
 int(9223372036854775807)
 --- testing: -9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
index 20065d62eb3f72108b66001f39ed3ebb1e8dc833..3c04fd181df66a2699ebeb715347d0e104ee5803 100644 (file)
@@ -47,6 +47,6 @@ float(NAN)
 
 Notice: A non well formed numeric value encountered in %s on line %d
 float(NAN)
-float(1.570796327)
+float(1.5707963267948966)
 float(0)
-float(1.570796327)
+float(1.5707963267948966)
index 428ae3e5fb046f2ec2589698e1ed55bc6bdfc16c..221c80bc687d09eef29b841558afbbc29869c9a9 100644 (file)
@@ -4,6 +4,8 @@ Test acosh function : 64bit long tests
 <?php
 if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
 ?>
+--INI--
+serialize_precision=14
 --FILE--
 <?php
 
index 27e1a9ac24a94ef368e6370f2f6757972898f947..923268127bfa5004c29ad7e3eae757681f66324f 100644 (file)
@@ -34,19 +34,19 @@ for ($i = 0; $i < count($values); $i++) {
 
 ?>
 --EXPECTF--
-float(3.828168471)
+float(3.8281684713331012)
 float(NAN)
-float(3.847562739)
+float(3.8475627390640357)
 float(NAN)
-float(3.828168471)
-float(3.828168471)
-float(3.828168471)
-float(3.847562739)
-float(3.847562739)
-float(7.60090221)
+float(3.8281684713331012)
+float(3.8281684713331012)
+float(3.8281684713331012)
+float(3.8475627390640357)
+float(3.8475627390640357)
+float(7.600902209541989)
 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(7.60090221)
+float(7.600902209541989)
 float(NAN)
 float(0)
 float(NAN)
index 7c0e5a37d63b61d2f9a8b4e9b1a2937c5719eee1..c59e43323ef6534da961c7c82551a8ec9ca1e401 100644 (file)
@@ -48,5 +48,5 @@ float(NAN)
 Notice: A non well formed numeric value encountered in %s on line %d
 float(NAN)
 float(0)
-float(1.570796327)
+float(1.5707963267948966)
 float(0)
index db8b7ad03e8fb12f68b1113a9e72e2b84d5a33c2..dc507c9f50b17d1c70404cd45f7f9dd89d906477 100644 (file)
@@ -4,6 +4,8 @@ Test asinh function : 64bit long tests
 <?php
 if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
 ?>
+--INI--
+serialize_precision=14
 --FILE--
 <?php
 
index f4304148cb967606fcc59afca6fb492bf80422e2..044668188340911a3fe64ca619ae53529f031265 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test variations in usage of asinh()
 --INI--
-precision = 10
+serialize_precision = 10
 --FILE--
 <?php
 /*
index fe015ac2aa365728b1c129d6ba285bab2c70bce4..1763795cfa1154f2ee85cf0182e775f70f3062e2 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test atan2() - basic function test of atan2()
 --INI--
-precision=14
+serialize_precision=14
 --FILE--
 <?php
 $valuesy = array(23,
index e29501232d97c34533c2265cced44906bf23c97d..ead69cd61ad5e2b6179bec4519770dfbd7ba7292 100644 (file)
@@ -31,332 +31,332 @@ foreach ($longVals as $longVal) {
 ?>
 --EXPECT--
 --- testing: 9223372036854775807, 0 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372036854775807, 1 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372036854775807, -1 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372036854775807, 7 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372036854775807, 9 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372036854775807, 65 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372036854775807, -44 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372036854775807, 2147483647 ---
-float(1.5707963265621)
+float(1.570796326562066)
 --- testing: 9223372036854775807, -2147483648 ---
-float(1.5707963270277)
+float(1.5707963270277272)
 --- testing: 9223372036854775807, 9223372036854775807 ---
-float(0.78539816339745)
+float(0.7853981633974483)
 --- testing: 9223372036854775807, -9223372036854775808 ---
-float(2.3561944901923)
+float(2.356194490192345)
 --- testing: -9223372036854775808, 0 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372036854775808, 1 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372036854775808, -1 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372036854775808, 7 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372036854775808, 9 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372036854775808, 65 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372036854775808, -44 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372036854775808, 2147483647 ---
-float(-1.5707963265621)
+float(-1.570796326562066)
 --- testing: -9223372036854775808, -2147483648 ---
-float(-1.5707963270277)
+float(-1.5707963270277272)
 --- testing: -9223372036854775808, 9223372036854775807 ---
-float(-0.78539816339745)
+float(-0.7853981633974483)
 --- testing: -9223372036854775808, -9223372036854775808 ---
-float(-2.3561944901923)
+float(-2.356194490192345)
 --- testing: 2147483647, 0 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 2147483647, 1 ---
-float(1.5707963263292)
+float(1.5707963263292353)
 --- testing: 2147483647, -1 ---
-float(1.5707963272606)
+float(1.5707963272605578)
 --- testing: 2147483647, 7 ---
-float(1.5707963235353)
+float(1.5707963235352675)
 --- testing: 2147483647, 9 ---
-float(1.5707963226039)
+float(1.570796322603945)
 --- testing: 2147483647, 65 ---
-float(1.5707962965269)
+float(1.5707962965269129)
 --- testing: 2147483647, -44 ---
-float(1.570796347284)
+float(1.5707963472839932)
 --- testing: 2147483647, 2147483647 ---
-float(0.78539816339745)
+float(0.7853981633974483)
 --- testing: 2147483647, -2147483648 ---
-float(2.3561944904252)
+float(2.3561944904251755)
 --- testing: 2147483647, 9223372036854775807 ---
-float(2.3283064354545E-10)
+float(2.328306435454494E-10)
 --- testing: 2147483647, -9223372036854775808 ---
-float(3.141592653357)
+float(3.1415926533569625)
 --- testing: -2147483648, 0 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -2147483648, 1 ---
-float(-1.5707963263292)
+float(-1.5707963263292353)
 --- testing: -2147483648, -1 ---
-float(-1.5707963272606)
+float(-1.5707963272605578)
 --- testing: -2147483648, 7 ---
-float(-1.5707963235353)
+float(-1.5707963235352675)
 --- testing: -2147483648, 9 ---
-float(-1.5707963226039)
+float(-1.570796322603945)
 --- testing: -2147483648, 65 ---
-float(-1.5707962965269)
+float(-1.5707962965269129)
 --- testing: -2147483648, -44 ---
-float(-1.570796347284)
+float(-1.5707963472839932)
 --- testing: -2147483648, 2147483647 ---
-float(-0.78539816363028)
+float(-0.7853981636302789)
 --- testing: -2147483648, -2147483648 ---
-float(-2.3561944901923)
+float(-2.356194490192345)
 --- testing: -2147483648, 9223372036854775807 ---
-float(-2.3283064365387E-10)
+float(-2.3283064365386963E-10)
 --- testing: -2147483648, -9223372036854775808 ---
-float(-3.141592653357)
+float(-3.1415926533569625)
 --- testing: 9223372034707292160, 0 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372034707292160, 1 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372034707292160, -1 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372034707292160, 7 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372034707292160, 9 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372034707292160, 65 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372034707292160, -44 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372034707292160, 2147483647 ---
-float(1.5707963265621)
+float(1.570796326562066)
 --- testing: 9223372034707292160, -2147483648 ---
-float(1.5707963270277)
+float(1.5707963270277272)
 --- testing: 9223372034707292160, 9223372036854775807 ---
-float(0.78539816328103)
+float(0.785398163281033)
 --- testing: 9223372034707292160, -9223372036854775808 ---
-float(2.3561944903088)
+float(2.35619449030876)
 --- testing: -9223372034707292160, 0 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372034707292160, 1 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372034707292160, -1 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372034707292160, 7 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372034707292160, 9 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372034707292160, 65 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372034707292160, -44 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372034707292160, 2147483647 ---
-float(-1.5707963265621)
+float(-1.570796326562066)
 --- testing: -9223372034707292160, -2147483648 ---
-float(-1.5707963270277)
+float(-1.5707963270277272)
 --- testing: -9223372034707292160, 9223372036854775807 ---
-float(-0.78539816328103)
+float(-0.785398163281033)
 --- testing: -9223372034707292160, -9223372036854775808 ---
-float(-2.3561944903088)
+float(-2.35619449030876)
 --- testing: 2147483648, 0 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 2147483648, 1 ---
-float(1.5707963263292)
+float(1.5707963263292353)
 --- testing: 2147483648, -1 ---
-float(1.5707963272606)
+float(1.5707963272605578)
 --- testing: 2147483648, 7 ---
-float(1.5707963235353)
+float(1.5707963235352675)
 --- testing: 2147483648, 9 ---
-float(1.5707963226039)
+float(1.570796322603945)
 --- testing: 2147483648, 65 ---
-float(1.5707962965269)
+float(1.5707962965269129)
 --- testing: 2147483648, -44 ---
-float(1.570796347284)
+float(1.5707963472839932)
 --- testing: 2147483648, 2147483647 ---
-float(0.78539816363028)
+float(0.7853981636302789)
 --- testing: 2147483648, -2147483648 ---
-float(2.3561944901923)
+float(2.356194490192345)
 --- testing: 2147483648, 9223372036854775807 ---
-float(2.3283064365387E-10)
+float(2.3283064365386963E-10)
 --- testing: 2147483648, -9223372036854775808 ---
-float(3.141592653357)
+float(3.1415926533569625)
 --- testing: -2147483649, 0 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -2147483649, 1 ---
-float(-1.5707963263292)
+float(-1.5707963263292353)
 --- testing: -2147483649, -1 ---
-float(-1.5707963272606)
+float(-1.5707963272605578)
 --- testing: -2147483649, 7 ---
-float(-1.5707963235353)
+float(-1.5707963235352675)
 --- testing: -2147483649, 9 ---
-float(-1.5707963226039)
+float(-1.570796322603945)
 --- testing: -2147483649, 65 ---
-float(-1.5707962965269)
+float(-1.5707962965269129)
 --- testing: -2147483649, -44 ---
-float(-1.570796347284)
+float(-1.5707963472839932)
 --- testing: -2147483649, 2147483647 ---
-float(-0.78539816386311)
+float(-0.7853981638631096)
 --- testing: -2147483649, -2147483648 ---
-float(-2.3561944899595)
+float(-2.356194489959514)
 --- testing: -2147483649, 9223372036854775807 ---
-float(-2.3283064376229E-10)
+float(-2.3283064376228985E-10)
 --- testing: -2147483649, -9223372036854775808 ---
-float(-3.141592653357)
+float(-3.1415926533569625)
 --- testing: 4294967294, 0 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 4294967294, 1 ---
-float(1.5707963265621)
+float(1.570796326562066)
 --- testing: 4294967294, -1 ---
-float(1.5707963270277)
+float(1.5707963270277272)
 --- testing: 4294967294, 7 ---
-float(1.5707963251651)
+float(1.570796325165082)
 --- testing: 4294967294, 9 ---
-float(1.5707963246994)
+float(1.5707963246994208)
 --- testing: 4294967294, 65 ---
-float(1.5707963116609)
+float(1.5707963116609047)
 --- testing: 4294967294, -44 ---
-float(1.5707963370394)
+float(1.5707963370394449)
 --- testing: 4294967294, 2147483647 ---
-float(1.1071487177941)
+float(1.1071487177940904)
 --- testing: 4294967294, -2147483648 ---
-float(2.034443935982)
+float(2.034443935981967)
 --- testing: 4294967294, 9223372036854775807 ---
-float(4.656612870909E-10)
+float(4.656612870908988E-10)
 --- testing: 4294967294, -9223372036854775808 ---
-float(3.1415926531241)
+float(3.141592653124132)
 --- testing: 4294967295, 0 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 4294967295, 1 ---
-float(1.5707963265621)
+float(1.570796326562066)
 --- testing: 4294967295, -1 ---
-float(1.5707963270277)
+float(1.5707963270277272)
 --- testing: 4294967295, 7 ---
-float(1.5707963251651)
+float(1.570796325165082)
 --- testing: 4294967295, 9 ---
-float(1.5707963246994)
+float(1.5707963246994208)
 --- testing: 4294967295, 65 ---
-float(1.5707963116609)
+float(1.5707963116609047)
 --- testing: 4294967295, -44 ---
-float(1.5707963370394)
+float(1.5707963370394449)
 --- testing: 4294967295, 2147483647 ---
-float(1.1071487178872)
+float(1.1071487178872228)
 --- testing: 4294967295, -2147483648 ---
-float(2.0344439358888)
+float(2.034443935888835)
 --- testing: 4294967295, 9223372036854775807 ---
-float(4.6566128719932E-10)
+float(4.6566128719931904E-10)
 --- testing: 4294967295, -9223372036854775808 ---
-float(3.1415926531241)
+float(3.141592653124132)
 --- testing: 4294967293, 0 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 4294967293, 1 ---
-float(1.5707963265621)
+float(1.570796326562066)
 --- testing: 4294967293, -1 ---
-float(1.5707963270277)
+float(1.5707963270277272)
 --- testing: 4294967293, 7 ---
-float(1.5707963251651)
+float(1.570796325165082)
 --- testing: 4294967293, 9 ---
-float(1.5707963246994)
+float(1.5707963246994208)
 --- testing: 4294967293, 65 ---
-float(1.5707963116609)
+float(1.5707963116609047)
 --- testing: 4294967293, -44 ---
-float(1.5707963370394)
+float(1.5707963370394449)
 --- testing: 4294967293, 2147483647 ---
-float(1.107148717701)
+float(1.1071487177009582)
 --- testing: 4294967293, -2147483648 ---
-float(2.0344439360751)
+float(2.0344439360750997)
 --- testing: 4294967293, 9223372036854775807 ---
-float(4.6566128698248E-10)
+float(4.656612869824786E-10)
 --- testing: 4294967293, -9223372036854775808 ---
-float(3.1415926531241)
+float(3.141592653124132)
 --- testing: 9223372036854775806, 0 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372036854775806, 1 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372036854775806, -1 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372036854775806, 7 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372036854775806, 9 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372036854775806, 65 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372036854775806, -44 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9223372036854775806, 2147483647 ---
-float(1.5707963265621)
+float(1.570796326562066)
 --- testing: 9223372036854775806, -2147483648 ---
-float(1.5707963270277)
+float(1.5707963270277272)
 --- testing: 9223372036854775806, 9223372036854775807 ---
-float(0.78539816339745)
+float(0.7853981633974483)
 --- testing: 9223372036854775806, -9223372036854775808 ---
-float(2.3561944901923)
+float(2.356194490192345)
 --- testing: 9.2233720368548E+18, 0 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9.2233720368548E+18, 1 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9.2233720368548E+18, -1 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9.2233720368548E+18, 7 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9.2233720368548E+18, 9 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9.2233720368548E+18, 65 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9.2233720368548E+18, -44 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9.2233720368548E+18, 2147483647 ---
-float(1.5707963265621)
+float(1.570796326562066)
 --- testing: 9.2233720368548E+18, -2147483648 ---
-float(1.5707963270277)
+float(1.5707963270277272)
 --- testing: 9.2233720368548E+18, 9223372036854775807 ---
-float(0.78539816339745)
+float(0.7853981633974483)
 --- testing: 9.2233720368548E+18, -9223372036854775808 ---
-float(2.3561944901923)
+float(2.356194490192345)
 --- testing: -9223372036854775807, 0 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372036854775807, 1 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372036854775807, -1 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372036854775807, 7 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372036854775807, 9 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372036854775807, 65 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372036854775807, -44 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9223372036854775807, 2147483647 ---
-float(-1.5707963265621)
+float(-1.570796326562066)
 --- testing: -9223372036854775807, -2147483648 ---
-float(-1.5707963270277)
+float(-1.5707963270277272)
 --- testing: -9223372036854775807, 9223372036854775807 ---
-float(-0.78539816339745)
+float(-0.7853981633974483)
 --- testing: -9223372036854775807, -9223372036854775808 ---
-float(-2.3561944901923)
+float(-2.356194490192345)
 --- testing: -9.2233720368548E+18, 0 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9.2233720368548E+18, 1 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9.2233720368548E+18, -1 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9.2233720368548E+18, 7 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9.2233720368548E+18, 9 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9.2233720368548E+18, 65 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9.2233720368548E+18, -44 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9.2233720368548E+18, 2147483647 ---
-float(-1.5707963265621)
+float(-1.570796326562066)
 --- testing: -9.2233720368548E+18, -2147483648 ---
-float(-1.5707963270277)
+float(-1.5707963270277272)
 --- testing: -9.2233720368548E+18, 9223372036854775807 ---
-float(-0.78539816339745)
+float(-0.7853981633974483)
 --- testing: -9.2233720368548E+18, -9223372036854775808 ---
-float(-2.3561944901923)
+float(-2.356194490192345)
index 2f5945dd2ff409f54d4ebcd4da269e1cfacb4b29..b7a3d20e8fdd53cb8e21e7bd14dcc7d248c18049 100644 (file)
@@ -27,32 +27,32 @@ foreach ($longVals as $longVal) {
 ?>
 --EXPECT--
 --- testing: 9223372036854775807 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: -9223372036854775808 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: 2147483647 ---
-float(1.5707963263292)
+float(1.5707963263292353)
 --- testing: -2147483648 ---
-float(-1.5707963263292)
+float(-1.5707963263292353)
 --- testing: 9223372034707292160 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: -9223372034707292160 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: 2147483648 ---
-float(1.5707963263292)
+float(1.5707963263292353)
 --- testing: -2147483649 ---
-float(-1.5707963263292)
+float(-1.5707963263292353)
 --- testing: 4294967294 ---
-float(1.5707963265621)
+float(1.570796326562066)
 --- testing: 4294967295 ---
-float(1.5707963265621)
+float(1.570796326562066)
 --- testing: 4294967293 ---
-float(1.5707963265621)
+float(1.570796326562066)
 --- testing: 9223372036854775806 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: 9.2233720368548E+18 ---
-float(1.5707963267949)
+float(1.5707963267948966)
 --- testing: -9223372036854775807 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
 --- testing: -9.2233720368548E+18 ---
-float(-1.5707963267949)
+float(-1.5707963267948966)
index 409f0b1719af93e9c68c2d7cafde9b131dceafb3..619f43248168b5cec1c575bc9ab2b317384a8745 100644 (file)
@@ -34,19 +34,19 @@ for ($i = 0; $i < count($values); $i++) {
 
 ?>
 --EXPECTF--
-float(1.527345431)
-float(-1.527345431)
-float(1.528178225)
-float(-1.528178225)
-float(1.527345431)
-float(1.527345431)
-float(1.527345431)
-float(1.528178225)
-float(1.528178225)
-float(1.569796327)
+float(1.5273454314033659)
+float(-1.5273454314033659)
+float(1.528178224770569)
+float(-1.528178224770569)
+float(1.5273454314033659)
+float(1.5273454314033659)
+float(1.5273454314033659)
+float(1.528178224770569)
+float(1.528178224770569)
+float(1.5697963271282298)
 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(1.569796327)
+float(1.5697963271282298)
 float(0)
-float(0.7853981634)
+float(0.7853981633974483)
 float(0)
index 8b69d6b4c3e567145a13f665ebf7b5e4a8c3c2a6..b4f28a091dbb3b560ccd1be0ce40b8e8283c37f7 100644 (file)
@@ -34,15 +34,15 @@ foreach ($binLongStrs as $strVal) {
 --- testing: 0111111111111111111111111111111111111111111111111111111111111111 ---
 int(9223372036854775807)
 --- testing: 1111111111111111111111111111111111111111111111111111111111111111 ---
-float(1.844674407371E+19)
+float(1.8446744073709552E+19)
 --- testing: 01111111111111111111111111111111 ---
 int(2147483647)
 --- testing: 11111111111111111111111111111111 ---
 int(4294967295)
 --- testing: 01111111111111111111111111111111111111111111111111111111111111111 ---
-float(1.844674407371E+19)
+float(1.8446744073709552E+19)
 --- testing: 11111111111111111111111111111111111111111111111111111111111111111 ---
-float(3.6893488147419E+19)
+float(3.6893488147419103E+19)
 --- testing: 011111111111111111111111111111111 ---
 int(4294967295)
 --- testing: 111111111111111111111111111111111 ---
index e1cc4b4dc604fcfd14f1651b5fd1161559a19b38..7cd9511b033a3ad3592d2b4386008c9cb0c9d67e 100644 (file)
@@ -27,17 +27,17 @@ foreach ($longVals as $longVal) {
 ?>
 --EXPECT--
 --- testing: 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 2147483647 ---
 float(2147483647)
 --- testing: -2147483648 ---
 float(-2147483648)
 --- testing: 9223372034707292160 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: -9223372034707292160 ---
-float(-9.2233720347073E+18)
+float(-9.223372034707292E+18)
 --- testing: 2147483648 ---
 float(2147483648)
 --- testing: -2147483649 ---
@@ -49,10 +49,10 @@ float(4294967295)
 --- testing: 4294967293 ---
 float(4294967293)
 --- testing: 9223372036854775806 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
index f44c6de4ff38eef5d718904496e80a32163b57a7..f08940b2333a9566d3030d7d43f02868904f62dc 100644 (file)
@@ -44,22 +44,22 @@ echo "NAN= ";
 var_dump(NAN);
 ?>
 --EXPECT--
-M_E= float(2.718281828459)
-M_LOG2E= float(1.442695040889)
-M_LOG10E= float(0.43429448190325)
-M_LN2= float(0.69314718055995)
-M_LN10= float(2.302585092994)
-M_PI= float(3.1415926535898)
-M_PI_2= float(1.5707963267949)
-M_PI_4= float(0.78539816339745)
-M_1_PI= float(0.31830988618379)
-M_2_PI= float(0.63661977236758)
-M_SQRTPI= float(1.7724538509055)
-M_2_SQRTPI= float(1.1283791670955)
-M_LNPI= float(1.1447298858494)
-M_EULER= float(0.57721566490153)
-M_SQRT2= float(1.4142135623731)
-M_SQRT1_2= float(0.70710678118655)
-M_SQRT3= float(1.7320508075689)
+M_E= float(2.718281828459045)
+M_LOG2E= float(1.4426950408889634)
+M_LOG10E= float(0.4342944819032518)
+M_LN2= float(0.6931471805599453)
+M_LN10= float(2.302585092994046)
+M_PI= float(3.141592653589793)
+M_PI_2= float(1.5707963267948966)
+M_PI_4= float(0.7853981633974483)
+M_1_PI= float(0.3183098861837907)
+M_2_PI= float(0.6366197723675814)
+M_SQRTPI= float(1.772453850905516)
+M_2_SQRTPI= float(1.1283791670955126)
+M_LNPI= float(1.1447298858494002)
+M_EULER= float(0.5772156649015329)
+M_SQRT2= float(1.4142135623730951)
+M_SQRT1_2= float(0.7071067811865476)
+M_SQRT3= float(1.7320508075688772)
 INF= float(INF)
 NAN= float(NAN)
index c575bd793051984fa38c532e1b08329d866b51b6..b132bba7a8ea6ab99e1a067821a8f094590fb377 100644 (file)
@@ -4,6 +4,8 @@ Test cos function : 64bit long tests
 <?php
 if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
 ?>
+--INI--
+serialize_precision=14
 --FILE--
 <?php
 
index da92b6aafee02365f226684ec6572876162b2fd4..1957e1332a7265223a06021c784e8b5126244474 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test variations in usage of cos()
 --INI--
-precision = 10
+serialize_precision = 10
 --FILE--
 <?php
 /*
index a0b3b60f1935eebcbca956f7c00af4e179cdf07d..bac44f262ba7ca1e68d1c435dd96e242d11d36d8 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test variations in usage of cosh()
 --INI--
-precision = 10
+serialize_precision = 10
 --FILE--
 <?php
 /*
index ae4087eccb968c21cc287c31da9f15f269921e1f..5817ee8122b7574c9cb38f1a5dc0fb5ca81ca076 100644 (file)
@@ -27,32 +27,32 @@ foreach ($longVals as $longVal) {
 ?>
 --EXPECT--
 --- testing: 9223372036854775807 ---
-float(1.6097821017949E+17)
+float(1.6097821017949162E+17)
 --- testing: -9223372036854775808 ---
-float(-1.6097821017949E+17)
+float(-1.6097821017949162E+17)
 --- testing: 2147483647 ---
-float(37480660.272886)
+float(37480660.27288565)
 --- testing: -2147483648 ---
-float(-37480660.290339)
+float(-37480660.29033894)
 --- testing: 9223372034707292160 ---
-float(1.6097821014201E+17)
+float(1.6097821014201098E+17)
 --- testing: -9223372034707292160 ---
-float(-1.6097821014201E+17)
+float(-1.6097821014201098E+17)
 --- testing: 2147483648 ---
-float(37480660.290339)
+float(37480660.29033894)
 --- testing: -2147483649 ---
-float(-37480660.307792)
+float(-37480660.30779223)
 --- testing: 4294967294 ---
-float(74961320.545771)
+float(74961320.5457713)
 --- testing: 4294967295 ---
-float(74961320.563225)
+float(74961320.5632246)
 --- testing: 4294967293 ---
 float(74961320.528318)
 --- testing: 9223372036854775806 ---
-float(1.6097821017949E+17)
+float(1.6097821017949162E+17)
 --- testing: 9.2233720368548E+18 ---
-float(1.6097821017949E+17)
+float(1.6097821017949162E+17)
 --- testing: -9223372036854775807 ---
-float(-1.6097821017949E+17)
+float(-1.6097821017949162E+17)
 --- testing: -9.2233720368548E+18 ---
-float(-1.6097821017949E+17)
+float(-1.6097821017949162E+17)
index 3e344540a22dec36bc204a6927409588a0e47a7b..8a9874f847e26290c9d8dfc63e230cd443f8ef26 100644 (file)
@@ -34,19 +34,19 @@ for ($i = 0; $i < count($values); $i++) {
 
 ?>
 --EXPECTF--
-float(0.401425728)
-float(-0.401425728)
-float(0.4092797096)
-float(-0.4092797096)
-float(0.401425728)
-float(0.401425728)
-float(0.401425728)
-float(0.4092797096)
-float(0.4092797096)
-float(17.45329252)
+float(0.40142572795869574)
+float(-0.40142572795869574)
+float(0.40927970959267024)
+float(-0.40927970959267024)
+float(0.40142572795869574)
+float(0.40142572795869574)
+float(0.40142572795869574)
+float(0.40927970959267024)
+float(0.40927970959267024)
+float(17.453292519943293)
 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(17.45329252)
+float(17.453292519943293)
 float(0)
-float(0.01745329252)
+float(0.017453292519943295)
 float(0)
index b73889153f468f4b6d5a4b2af3d52f6e029173dd..cf67db2c7a4271bdab8648bf2e3d6be4d6ececf0 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test exp() - basic function test for exp()
 --INI--
-precision=14
+serialize_precision=14
 --FILE--
 <?php
 $values = array(10,
index 296838570c1566d83c495f30d2c2f13f5213b1a8..f5faefd8bb8b33f48dcc1a83cd853ef1c1e36c5e 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test expm1() - basic function test for expm1()
 --INI--
-precision=14
+serialize_precision=14
 --FILE--
 <?php
 /* Prototype  : float expm1 ( float $arg  )
index dd50cfdb7889a31d1fcd82c11f7532984150b3ad..6a6ad73250521a1be40ab505d3b2d2bf2f394041 100644 (file)
@@ -41,8 +41,8 @@ var_dump(fdiv(NAN, 0.));
 
 ?>
 --EXPECT--
-float(3.3333333333333)
-float(3.3333333333333)
+float(3.3333333333333335)
+float(3.3333333333333335)
 float(-4)
 float(-4)
 
index 3bc4e6393e3310191b9523bb426b545fa4c4a88e..70c0e9210f7b7f658ec045ef63fe2e521d18fa43 100644 (file)
@@ -27,17 +27,17 @@ foreach ($longVals as $longVal) {
 ?>
 --EXPECT--
 --- testing: 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 2147483647 ---
 float(2147483647)
 --- testing: -2147483648 ---
 float(-2147483648)
 --- testing: 9223372034707292160 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: -9223372034707292160 ---
-float(-9.2233720347073E+18)
+float(-9.223372034707292E+18)
 --- testing: 2147483648 ---
 float(2147483648)
 --- testing: -2147483649 ---
@@ -49,10 +49,10 @@ float(4294967295)
 --- testing: 4294967293 ---
 float(4294967293)
 --- testing: 9223372036854775806 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
index e7b204f54083a1e84a135d7a718ef9f7cfac46a1..731b76adab13e6c680c3a4d7580f0d49ed70fe16 100644 (file)
@@ -47,7 +47,7 @@ float(4)
 float(0)
 float(0)
 float(0)
-float(1.7)
+float(1.700000000000018)
 float(4)
 float(NAN)
 float(0)
@@ -61,7 +61,7 @@ float(-4)
 float(-0)
 float(-0)
 float(-0)
-float(-1.7)
+float(-1.700000000000018)
 float(-4)
 float(NAN)
 float(-0)
@@ -75,7 +75,7 @@ float(4.5)
 float(0.5)
 float(0.5)
 float(0.5)
-float(2.2)
+float(2.200000000000018)
 float(4.5)
 float(NAN)
 float(0.5)
@@ -89,7 +89,7 @@ float(-4.5)
 float(-0.5)
 float(-0.5)
 float(-0.5)
-float(-2.2)
+float(-2.200000000000018)
 float(-4.5)
 float(NAN)
 float(-0.5)
@@ -103,7 +103,7 @@ float(4)
 float(0)
 float(0)
 float(0)
-float(1.7)
+float(1.700000000000018)
 float(4)
 float(NAN)
 float(0)
@@ -117,7 +117,7 @@ float(4)
 float(0)
 float(0)
 float(0)
-float(1.7)
+float(1.700000000000018)
 float(4)
 float(NAN)
 float(0)
@@ -131,7 +131,7 @@ float(4)
 float(0)
 float(0)
 float(0)
-float(1.7)
+float(1.700000000000018)
 float(4)
 float(NAN)
 float(0)
@@ -145,7 +145,7 @@ float(4.5)
 float(0.5)
 float(0.5)
 float(0.5)
-float(2.2)
+float(2.200000000000018)
 float(4.5)
 float(NAN)
 float(0.5)
@@ -159,7 +159,7 @@ float(4.5)
 float(0.5)
 float(0.5)
 float(0.5)
-float(2.2)
+float(2.200000000000018)
 float(4.5)
 float(NAN)
 float(0.5)
index 5ef283689e7cfe3b3cfbbee342339ae0e61cbe14..a6b830014d66d800eabbb5685056451bbb6049fa 100644 (file)
@@ -137,9 +137,9 @@ float(1)
 --- testing: 9223372034707292160, -2147483648 ---
 float(0)
 --- testing: 9223372034707292160, 9223372036854775807 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: 9223372034707292160, -9223372036854775808 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: -9223372034707292160, 0 ---
 float(NAN)
 --- testing: -9223372034707292160, 1 ---
@@ -159,9 +159,9 @@ float(-1)
 --- testing: -9223372034707292160, -2147483648 ---
 float(-0)
 --- testing: -9223372034707292160, 9223372036854775807 ---
-float(-9.2233720347073E+18)
+float(-9.223372034707292E+18)
 --- testing: -9223372034707292160, -9223372036854775808 ---
-float(-9.2233720347073E+18)
+float(-9.223372034707292E+18)
 --- testing: 2147483648, 0 ---
 float(NAN)
 --- testing: 2147483648, 1 ---
index b378b452eb424cd9aeb8daf6edeffab99da903af..af0b448cac01918cd04e3d3c2b5ec80d7d373826 100644 (file)
@@ -34,15 +34,15 @@ foreach ($hexLongStrs as $strVal) {
 --- testing: 7fffffffffffffff ---
 int(9223372036854775807)
 --- testing: ffffffffffffffff ---
-float(1.844674407371E+19)
+float(1.8446744073709552E+19)
 --- testing: 7fffffff ---
 int(2147483647)
 --- testing: ffffffff ---
 int(4294967295)
 --- testing: 7ffffffffffffffff ---
-float(1.4757395258968E+20)
+float(1.4757395258967641E+20)
 --- testing: ffffffffffffffffff ---
-float(4.7223664828696E+21)
+float(4.722366482869645E+21)
 --- testing: 7ffffffff ---
 int(34359738367)
 --- testing: fffffffff ---
index f9e5787f406c368fe6ea415a801b37a81bb3eb33..cc2e73b3cda395c512ca47b78fd1f65bc40c0636 100644 (file)
@@ -51,299 +51,299 @@ for ($i = 0; $i < count($valuesy); $i++) {
 --EXPECTF--
 *** Testing hypot() : basic functionality ***
 
-Y:23 X:33 float(40.224370722238)
+Y:23 X:33 float(40.22437072223753)
 
-Y:23 X:-33 float(40.224370722238)
+Y:23 X:-33 float(40.22437072223753)
 
-Y:23 X:33.45 float(40.594365372549)
+Y:23 X:33.45 float(40.594365372548936)
 
-Y:23 X:-33.45 float(40.594365372549)
+Y:23 X:-33.45 float(40.594365372548936)
 
-Y:23 X:39 float(45.276925690687)
+Y:23 X:39 float(45.27692569068709)
 
-Y:23 X:31 float(38.600518131238)
+Y:23 X:31 float(38.600518131237564)
 
-Y:23 X:33 float(40.224370722238)
+Y:23 X:33 float(40.22437072223753)
 
-Y:23 X:43.45 float(49.162002603637)
+Y:23 X:43.45 float(49.162002603636886)
 
-Y:23 X:1.345e1 float(26.643995571235)
+Y:23 X:1.345e1 float(26.64399557123518)
 
 Y:23 X:33abc 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.224370722238)
+float(40.22437072223753)
 
 Y:23 X: float(23)
 
-Y:23 X:1 float(23.021728866443)
+Y:23 X:1 float(23.021728866442675)
 
 Y:23 X: float(23)
 
-Y:-23 X:33 float(40.224370722238)
+Y:-23 X:33 float(40.22437072223753)
 
-Y:-23 X:-33 float(40.224370722238)
+Y:-23 X:-33 float(40.22437072223753)
 
-Y:-23 X:33.45 float(40.594365372549)
+Y:-23 X:33.45 float(40.594365372548936)
 
-Y:-23 X:-33.45 float(40.594365372549)
+Y:-23 X:-33.45 float(40.594365372548936)
 
-Y:-23 X:39 float(45.276925690687)
+Y:-23 X:39 float(45.27692569068709)
 
-Y:-23 X:31 float(38.600518131238)
+Y:-23 X:31 float(38.600518131237564)
 
-Y:-23 X:33 float(40.224370722238)
+Y:-23 X:33 float(40.22437072223753)
 
-Y:-23 X:43.45 float(49.162002603637)
+Y:-23 X:43.45 float(49.162002603636886)
 
-Y:-23 X:1.345e1 float(26.643995571235)
+Y:-23 X:1.345e1 float(26.64399557123518)
 
 Y:-23 X:33abc 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.224370722238)
+float(40.22437072223753)
 
 Y:-23 X: float(23)
 
-Y:-23 X:1 float(23.021728866443)
+Y:-23 X:1 float(23.021728866442675)
 
 Y:-23 X: float(23)
 
-Y:23.45 X:33 float(40.483360779461)
+Y:23.45 X:33 float(40.48336077946099)
 
-Y:23.45 X:-33 float(40.483360779461)
+Y:23.45 X:-33 float(40.48336077946099)
 
-Y:23.45 X:33.45 float(40.851009779441)
+Y:23.45 X:33.45 float(40.85100977944119)
 
-Y:23.45 X:-33.45 float(40.851009779441)
+Y:23.45 X:-33.45 float(40.85100977944119)
 
-Y:23.45 X:39 float(45.507169764774)
+Y:23.45 X:39 float(45.50716976477443)
 
-Y:23.45 X:31 float(38.870329301409)
+Y:23.45 X:31 float(38.87032930140932)
 
-Y:23.45 X:33 float(40.483360779461)
+Y:23.45 X:33 float(40.48336077946099)
 
-Y:23.45 X:43.45 float(49.374132903779)
+Y:23.45 X:43.45 float(49.37413290377868)
 
-Y:23.45 X:1.345e1 float(27.033405260899)
+Y:23.45 X:1.345e1 float(27.033405260898967)
 
 Y:23.45 X:33abc 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.483360779461)
+float(40.48336077946099)
 
 Y:23.45 X: float(23.45)
 
-Y:23.45 X:1 float(23.471312276905)
+Y:23.45 X:1 float(23.47131227690518)
 
 Y:23.45 X: float(23.45)
 
-Y:-23.45 X:33 float(40.483360779461)
+Y:-23.45 X:33 float(40.48336077946099)
 
-Y:-23.45 X:-33 float(40.483360779461)
+Y:-23.45 X:-33 float(40.48336077946099)
 
-Y:-23.45 X:33.45 float(40.851009779441)
+Y:-23.45 X:33.45 float(40.85100977944119)
 
-Y:-23.45 X:-33.45 float(40.851009779441)
+Y:-23.45 X:-33.45 float(40.85100977944119)
 
-Y:-23.45 X:39 float(45.507169764774)
+Y:-23.45 X:39 float(45.50716976477443)
 
-Y:-23.45 X:31 float(38.870329301409)
+Y:-23.45 X:31 float(38.87032930140932)
 
-Y:-23.45 X:33 float(40.483360779461)
+Y:-23.45 X:33 float(40.48336077946099)
 
-Y:-23.45 X:43.45 float(49.374132903779)
+Y:-23.45 X:43.45 float(49.37413290377868)
 
-Y:-23.45 X:1.345e1 float(27.033405260899)
+Y:-23.45 X:1.345e1 float(27.033405260898967)
 
 Y:-23.45 X:33abc 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.483360779461)
+float(40.48336077946099)
 
 Y:-23.45 X: float(23.45)
 
-Y:-23.45 X:1 float(23.471312276905)
+Y:-23.45 X:1 float(23.47131227690518)
 
 Y:-23.45 X: float(23.45)
 
-Y:23 X:33 float(40.224370722238)
+Y:23 X:33 float(40.22437072223753)
 
-Y:23 X:-33 float(40.224370722238)
+Y:23 X:-33 float(40.22437072223753)
 
-Y:23 X:33.45 float(40.594365372549)
+Y:23 X:33.45 float(40.594365372548936)
 
-Y:23 X:-33.45 float(40.594365372549)
+Y:23 X:-33.45 float(40.594365372548936)
 
-Y:23 X:39 float(45.276925690687)
+Y:23 X:39 float(45.27692569068709)
 
-Y:23 X:31 float(38.600518131238)
+Y:23 X:31 float(38.600518131237564)
 
-Y:23 X:33 float(40.224370722238)
+Y:23 X:33 float(40.22437072223753)
 
-Y:23 X:43.45 float(49.162002603637)
+Y:23 X:43.45 float(49.162002603636886)
 
-Y:23 X:1.345e1 float(26.643995571235)
+Y:23 X:1.345e1 float(26.64399557123518)
 
 Y:23 X:33abc 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.224370722238)
+float(40.22437072223753)
 
 Y:23 X: float(23)
 
-Y:23 X:1 float(23.021728866443)
+Y:23 X:1 float(23.021728866442675)
 
 Y:23 X: float(23)
 
-Y:23 X:33 float(40.224370722238)
+Y:23 X:33 float(40.22437072223753)
 
-Y:23 X:-33 float(40.224370722238)
+Y:23 X:-33 float(40.22437072223753)
 
-Y:23 X:33.45 float(40.594365372549)
+Y:23 X:33.45 float(40.594365372548936)
 
-Y:23 X:-33.45 float(40.594365372549)
+Y:23 X:-33.45 float(40.594365372548936)
 
-Y:23 X:39 float(45.276925690687)
+Y:23 X:39 float(45.27692569068709)
 
-Y:23 X:31 float(38.600518131238)
+Y:23 X:31 float(38.600518131237564)
 
-Y:23 X:33 float(40.224370722238)
+Y:23 X:33 float(40.22437072223753)
 
-Y:23 X:43.45 float(49.162002603637)
+Y:23 X:43.45 float(49.162002603636886)
 
-Y:23 X:1.345e1 float(26.643995571235)
+Y:23 X:1.345e1 float(26.64399557123518)
 
 Y:23 X:33abc 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.224370722238)
+float(40.22437072223753)
 
 Y:23 X: float(23)
 
-Y:23 X:1 float(23.021728866443)
+Y:23 X:1 float(23.021728866442675)
 
 Y:23 X: float(23)
 
-Y:23 X:33 float(40.224370722238)
+Y:23 X:33 float(40.22437072223753)
 
-Y:23 X:-33 float(40.224370722238)
+Y:23 X:-33 float(40.22437072223753)
 
-Y:23 X:33.45 float(40.594365372549)
+Y:23 X:33.45 float(40.594365372548936)
 
-Y:23 X:-33.45 float(40.594365372549)
+Y:23 X:-33.45 float(40.594365372548936)
 
-Y:23 X:39 float(45.276925690687)
+Y:23 X:39 float(45.27692569068709)
 
-Y:23 X:31 float(38.600518131238)
+Y:23 X:31 float(38.600518131237564)
 
-Y:23 X:33 float(40.224370722238)
+Y:23 X:33 float(40.22437072223753)
 
-Y:23 X:43.45 float(49.162002603637)
+Y:23 X:43.45 float(49.162002603636886)
 
-Y:23 X:1.345e1 float(26.643995571235)
+Y:23 X:1.345e1 float(26.64399557123518)
 
 Y:23 X:33abc 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.224370722238)
+float(40.22437072223753)
 
 Y:23 X: float(23)
 
-Y:23 X:1 float(23.021728866443)
+Y:23 X:1 float(23.021728866442675)
 
 Y:23 X: float(23)
 
-Y:23.45 X:33 float(40.483360779461)
+Y:23.45 X:33 float(40.48336077946099)
 
-Y:23.45 X:-33 float(40.483360779461)
+Y:23.45 X:-33 float(40.48336077946099)
 
-Y:23.45 X:33.45 float(40.851009779441)
+Y:23.45 X:33.45 float(40.85100977944119)
 
-Y:23.45 X:-33.45 float(40.851009779441)
+Y:23.45 X:-33.45 float(40.85100977944119)
 
-Y:23.45 X:39 float(45.507169764774)
+Y:23.45 X:39 float(45.50716976477443)
 
-Y:23.45 X:31 float(38.870329301409)
+Y:23.45 X:31 float(38.87032930140932)
 
-Y:23.45 X:33 float(40.483360779461)
+Y:23.45 X:33 float(40.48336077946099)
 
-Y:23.45 X:43.45 float(49.374132903779)
+Y:23.45 X:43.45 float(49.37413290377868)
 
-Y:23.45 X:1.345e1 float(27.033405260899)
+Y:23.45 X:1.345e1 float(27.033405260898967)
 
 Y:23.45 X:33abc 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.483360779461)
+float(40.48336077946099)
 
 Y:23.45 X: float(23.45)
 
-Y:23.45 X:1 float(23.471312276905)
+Y:23.45 X:1 float(23.47131227690518)
 
 Y:23.45 X: float(23.45)
 
-Y:2.345e1 X:33 float(40.483360779461)
+Y:2.345e1 X:33 float(40.48336077946099)
 
-Y:2.345e1 X:-33 float(40.483360779461)
+Y:2.345e1 X:-33 float(40.48336077946099)
 
-Y:2.345e1 X:33.45 float(40.851009779441)
+Y:2.345e1 X:33.45 float(40.85100977944119)
 
-Y:2.345e1 X:-33.45 float(40.851009779441)
+Y:2.345e1 X:-33.45 float(40.85100977944119)
 
-Y:2.345e1 X:39 float(45.507169764774)
+Y:2.345e1 X:39 float(45.50716976477443)
 
-Y:2.345e1 X:31 float(38.870329301409)
+Y:2.345e1 X:31 float(38.87032930140932)
 
-Y:2.345e1 X:33 float(40.483360779461)
+Y:2.345e1 X:33 float(40.48336077946099)
 
-Y:2.345e1 X:43.45 float(49.374132903779)
+Y:2.345e1 X:43.45 float(49.37413290377868)
 
-Y:2.345e1 X:1.345e1 float(27.033405260899)
+Y:2.345e1 X:1.345e1 float(27.033405260898967)
 
 Y:2.345e1 X:33abc 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.483360779461)
+float(40.48336077946099)
 
 Y:2.345e1 X: float(23.45)
 
-Y:2.345e1 X:1 float(23.471312276905)
+Y:2.345e1 X:1 float(23.47131227690518)
 
 Y:2.345e1 X: float(23.45)
 
 Y:23abc X:33 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.224370722238)
+float(40.22437072223753)
 
 Y:23abc X:-33 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.224370722238)
+float(40.22437072223753)
 
 Y:23abc X:33.45 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.594365372549)
+float(40.594365372548936)
 
 Y:23abc X:-33.45 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.594365372549)
+float(40.594365372548936)
 
 Y:23abc X:39 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(45.276925690687)
+float(45.27692569068709)
 
 Y:23abc X:31 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(38.600518131238)
+float(38.600518131237564)
 
 Y:23abc X:33 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.224370722238)
+float(40.22437072223753)
 
 Y:23abc X:43.45 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(49.162002603637)
+float(49.162002603636886)
 
 Y:23abc X:1.345e1 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(26.643995571235)
+float(26.64399557123518)
 
 Y:23abc X:33abc 
 Notice: A non well formed numeric value encountered in %s on line %d
 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(40.224370722238)
+float(40.22437072223753)
 
 Y:23abc X: 
 Notice: A non well formed numeric value encountered in %s on line %d
@@ -351,7 +351,7 @@ float(23)
 
 Y:23abc X:1 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(23.021728866443)
+float(23.021728866442675)
 
 Y:23abc X: 
 Notice: A non well formed numeric value encountered in %s on line %d
@@ -385,31 +385,31 @@ Y: X:1 float(1)
 
 Y: X: float(0)
 
-Y:1 X:33 float(33.015148038438)
+Y:1 X:33 float(33.015148038438355)
 
-Y:1 X:-33 float(33.015148038438)
+Y:1 X:-33 float(33.015148038438355)
 
-Y:1 X:33.45 float(33.464944344792)
+Y:1 X:33.45 float(33.46494434479161)
 
-Y:1 X:-33.45 float(33.464944344792)
+Y:1 X:-33.45 float(33.46494434479161)
 
-Y:1 X:39 float(39.012818406262)
+Y:1 X:39 float(39.01281840626232)
 
-Y:1 X:31 float(31.016124838542)
+Y:1 X:31 float(31.016124838541646)
 
-Y:1 X:33 float(33.015148038438)
+Y:1 X:33 float(33.015148038438355)
 
-Y:1 X:43.45 float(43.461505956421)
+Y:1 X:43.45 float(43.461505956420794)
 
-Y:1 X:1.345e1 float(13.487123488721)
+Y:1 X:1.345e1 float(13.48712348872064)
 
 Y:1 X:33abc 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(33.015148038438)
+float(33.015148038438355)
 
 Y:1 X: float(1)
 
-Y:1 X:1 float(1.4142135623731)
+Y:1 X:1 float(1.4142135623730951)
 
 Y:1 X: float(1)
 
index 1e1ca60996ae5c621ad9b5e26afac00f9607c674..00ce7226c2f6f3b5037b46a64a539a03dc51e102 100644 (file)
@@ -31,49 +31,49 @@ foreach ($longVals as $longVal) {
 ?>
 --EXPECT--
 --- testing: 9223372036854775807, 0 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807, 1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807, -1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807, 7 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807, 9 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807, 65 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807, -44 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807, 2147483647 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807, -2147483648 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807, 9223372036854775807 ---
-float(1.3043817825333E+19)
+float(1.3043817825332783E+19)
 --- testing: 9223372036854775807, -9223372036854775808 ---
-float(1.3043817825333E+19)
+float(1.3043817825332783E+19)
 --- testing: -9223372036854775808, 0 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808, 1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808, -1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808, 7 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808, 9 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808, 65 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808, -44 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808, 2147483647 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808, -2147483648 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808, 9223372036854775807 ---
-float(1.3043817825333E+19)
+float(1.3043817825332783E+19)
 --- testing: -9223372036854775808, -9223372036854775808 ---
-float(1.3043817825333E+19)
+float(1.3043817825332783E+19)
 --- testing: 2147483647, 0 ---
 float(2147483647)
 --- testing: 2147483647, 1 ---
@@ -85,17 +85,17 @@ float(2147483647)
 --- testing: 2147483647, 9 ---
 float(2147483647)
 --- testing: 2147483647, 65 ---
-float(2147483647)
+float(2147483647.000001)
 --- testing: 2147483647, -44 ---
-float(2147483647)
+float(2147483647.0000005)
 --- testing: 2147483647, 2147483647 ---
-float(3037000498.5618)
+float(3037000498.5618362)
 --- testing: 2147483647, -2147483648 ---
-float(3037000499.2689)
+float(3037000499.268943)
 --- testing: 2147483647, 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 2147483647, -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -2147483648, 0 ---
 float(2147483648)
 --- testing: -2147483648, 1 ---
@@ -107,61 +107,61 @@ float(2147483648)
 --- testing: -2147483648, 9 ---
 float(2147483648)
 --- testing: -2147483648, 65 ---
-float(2147483648)
+float(2147483648.000001)
 --- testing: -2147483648, -44 ---
-float(2147483648)
+float(2147483648.0000005)
 --- testing: -2147483648, 2147483647 ---
-float(3037000499.2689)
+float(3037000499.268943)
 --- testing: -2147483648, -2147483648 ---
-float(3037000499.976)
+float(3037000499.97605)
 --- testing: -2147483648, 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -2147483648, -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372034707292160, 0 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: 9223372034707292160, 1 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: 9223372034707292160, -1 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: 9223372034707292160, 7 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: 9223372034707292160, 9 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: 9223372034707292160, 65 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: 9223372034707292160, -44 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: 9223372034707292160, 2147483647 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: 9223372034707292160, -2147483648 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: 9223372034707292160, 9223372036854775807 ---
-float(1.3043817823814E+19)
+float(1.3043817823814281E+19)
 --- testing: 9223372034707292160, -9223372036854775808 ---
-float(1.3043817823814E+19)
+float(1.3043817823814281E+19)
 --- testing: -9223372034707292160, 0 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: -9223372034707292160, 1 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: -9223372034707292160, -1 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: -9223372034707292160, 7 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: -9223372034707292160, 9 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: -9223372034707292160, 65 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: -9223372034707292160, -44 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: -9223372034707292160, 2147483647 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: -9223372034707292160, -2147483648 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: -9223372034707292160, 9223372036854775807 ---
-float(1.3043817823814E+19)
+float(1.3043817823814281E+19)
 --- testing: -9223372034707292160, -9223372036854775808 ---
-float(1.3043817823814E+19)
+float(1.3043817823814281E+19)
 --- testing: 2147483648, 0 ---
 float(2147483648)
 --- testing: 2147483648, 1 ---
@@ -173,17 +173,17 @@ float(2147483648)
 --- testing: 2147483648, 9 ---
 float(2147483648)
 --- testing: 2147483648, 65 ---
-float(2147483648)
+float(2147483648.000001)
 --- testing: 2147483648, -44 ---
-float(2147483648)
+float(2147483648.0000005)
 --- testing: 2147483648, 2147483647 ---
-float(3037000499.2689)
+float(3037000499.268943)
 --- testing: 2147483648, -2147483648 ---
-float(3037000499.976)
+float(3037000499.97605)
 --- testing: 2147483648, 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 2147483648, -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -2147483649, 0 ---
 float(2147483649)
 --- testing: -2147483649, 1 ---
@@ -195,17 +195,17 @@ float(2147483649)
 --- testing: -2147483649, 9 ---
 float(2147483649)
 --- testing: -2147483649, 65 ---
-float(2147483649)
+float(2147483649.000001)
 --- testing: -2147483649, -44 ---
-float(2147483649)
+float(2147483649.0000005)
 --- testing: -2147483649, 2147483647 ---
-float(3037000499.976)
+float(3037000499.97605)
 --- testing: -2147483649, -2147483648 ---
-float(3037000500.6832)
+float(3037000500.6831565)
 --- testing: -2147483649, 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -2147483649, -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 4294967294, 0 ---
 float(4294967294)
 --- testing: 4294967294, 1 ---
@@ -217,17 +217,17 @@ float(4294967294)
 --- testing: 4294967294, 9 ---
 float(4294967294)
 --- testing: 4294967294, 65 ---
-float(4294967294)
+float(4294967294.0000005)
 --- testing: 4294967294, -44 ---
 float(4294967294)
 --- testing: 4294967294, 2147483647 ---
-float(4801919415.2612)
+float(4801919415.261163)
 --- testing: 4294967294, -2147483648 ---
-float(4801919415.7084)
+float(4801919415.708376)
 --- testing: 4294967294, 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 4294967294, -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 4294967295, 0 ---
 float(4294967295)
 --- testing: 4294967295, 1 ---
@@ -239,17 +239,17 @@ float(4294967295)
 --- testing: 4294967295, 9 ---
 float(4294967295)
 --- testing: 4294967295, 65 ---
-float(4294967295)
+float(4294967295.0000005)
 --- testing: 4294967295, -44 ---
 float(4294967295)
 --- testing: 4294967295, 2147483647 ---
-float(4801919416.1556)
+float(4801919416.155589)
 --- testing: 4294967295, -2147483648 ---
-float(4801919416.6028)
+float(4801919416.602803)
 --- testing: 4294967295, 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 4294967295, -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 4294967293, 0 ---
 float(4294967293)
 --- testing: 4294967293, 1 ---
@@ -261,102 +261,102 @@ float(4294967293)
 --- testing: 4294967293, 9 ---
 float(4294967293)
 --- testing: 4294967293, 65 ---
-float(4294967293)
+float(4294967293.0000005)
 --- testing: 4294967293, -44 ---
 float(4294967293)
 --- testing: 4294967293, 2147483647 ---
-float(4801919414.3667)
+float(4801919414.366735)
 --- testing: 4294967293, -2147483648 ---
-float(4801919414.8139)
+float(4801919414.813949)
 --- testing: 4294967293, 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 4294967293, -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775806, 0 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775806, 1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775806, -1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775806, 7 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775806, 9 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775806, 65 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775806, -44 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775806, 2147483647 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775806, -2147483648 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775806, 9223372036854775807 ---
-float(1.3043817825333E+19)
+float(1.3043817825332783E+19)
 --- testing: 9223372036854775806, -9223372036854775808 ---
-float(1.3043817825333E+19)
+float(1.3043817825332783E+19)
 --- testing: 9.2233720368548E+18, 0 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18, 1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18, -1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18, 7 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18, 9 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18, 65 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18, -44 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18, 2147483647 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18, -2147483648 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18, 9223372036854775807 ---
-float(1.3043817825333E+19)
+float(1.3043817825332783E+19)
 --- testing: 9.2233720368548E+18, -9223372036854775808 ---
-float(1.3043817825333E+19)
+float(1.3043817825332783E+19)
 --- testing: -9223372036854775807, 0 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807, 1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807, -1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807, 7 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807, 9 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807, 65 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807, -44 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807, 2147483647 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807, -2147483648 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807, 9223372036854775807 ---
-float(1.3043817825333E+19)
+float(1.3043817825332783E+19)
 --- testing: -9223372036854775807, -9223372036854775808 ---
-float(1.3043817825333E+19)
+float(1.3043817825332783E+19)
 --- testing: -9.2233720368548E+18, 0 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9.2233720368548E+18, 1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9.2233720368548E+18, -1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9.2233720368548E+18, 7 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9.2233720368548E+18, 9 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9.2233720368548E+18, 65 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9.2233720368548E+18, -44 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9.2233720368548E+18, 2147483647 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9.2233720368548E+18, -2147483648 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9.2233720368548E+18, 9223372036854775807 ---
-float(1.3043817825333E+19)
+float(1.3043817825332783E+19)
 --- testing: -9.2233720368548E+18, -9223372036854775808 ---
-float(1.3043817825333E+19)
+float(1.3043817825332783E+19)
index ef00d37d0229064b4da727ebdc8fad1c3ab9e2af..eb679a2340fd1852b64cd17853bc3e83ef2af048 100644 (file)
@@ -27,31 +27,31 @@ foreach ($longVals as $longVal) {
 ?>
 --EXPECT--
 --- testing: 9223372036854775807 ---
-float(18.964889726831)
+float(18.964889726830815)
 --- testing: -9223372036854775808 ---
 float(NAN)
 --- testing: 2147483647 ---
-float(9.3319298653812)
+float(9.331929865381182)
 --- testing: -2147483648 ---
 float(NAN)
 --- testing: 9223372034707292160 ---
-float(18.96488972673)
+float(18.964889726729698)
 --- testing: -9223372034707292160 ---
 float(NAN)
 --- testing: 2147483648 ---
-float(9.3319298655834)
+float(9.331929865583417)
 --- testing: -2147483649 ---
 float(NAN)
 --- testing: 4294967294 ---
-float(9.6329598610452)
+float(9.632959861045164)
 --- testing: 4294967295 ---
-float(9.6329598611463)
+float(9.632959861146281)
 --- testing: 4294967293 ---
-float(9.632959860944)
+float(9.632959860944046)
 --- testing: 9223372036854775806 ---
-float(18.964889726831)
+float(18.964889726830815)
 --- testing: 9.2233720368548E+18 ---
-float(18.964889726831)
+float(18.964889726830815)
 --- testing: -9223372036854775807 ---
 float(NAN)
 --- testing: -9.2233720368548E+18 ---
index e852d82ea916b0a865fa3fd90456275a8c20bf9a..e6af00ec2d9c70bd0efc540f9c329094215d5cb0 100644 (file)
@@ -34,15 +34,15 @@ for ($i = 0; $i < count($values); $i++) {
 
 ?>
 --EXPECTF--
-float(1.361727836)
+float(1.3617278360175928)
 float(NAN)
-float(1.370142847)
+float(1.3701428470511021)
 float(NAN)
-float(1.361727836)
-float(1.361727836)
-float(1.361727836)
-float(1.370142847)
-float(1.370142847)
+float(1.3617278360175928)
+float(1.3617278360175928)
+float(1.3617278360175928)
+float(1.3701428470511021)
+float(1.3701428470511021)
 float(3)
 
 Notice: A non well formed numeric value encountered in %s on line %d
index 115deec1d9eb2f8979cd200a7a5edbfb7e31debb..9dce971f78cfc758a913be2699aad486ff99f28e 100644 (file)
@@ -40,37 +40,37 @@ foreach($values as $value) {
  LOG1p tests
 
 -- log1p 23 --
-float(3.1780538303479)
+float(3.1780538303479458)
 
 -- log1p -23 --
 float(NAN)
 
 -- log1p 23.45 --
-float(3.1966302159209)
+float(3.196630215920881)
 
 -- log1p -23.45 --
 float(NAN)
 
 -- log1p 23 --
-float(3.1780538303479)
+float(3.1780538303479458)
 
 -- log1p 23 --
-float(3.1780538303479)
+float(3.1780538303479458)
 
 -- log1p 23 --
-float(3.1780538303479)
+float(3.1780538303479458)
 
 -- log1p 23.45 --
-float(3.1966302159209)
+float(3.196630215920881)
 
 -- log1p 2.345e1 --
-float(3.1966302159209)
+float(3.196630215920881)
 
 -- log1p  --
 float(0)
 
 -- log1p 1 --
-float(0.69314718055995)
+float(0.6931471805599453)
 
 -- log1p  --
 float(0)
index be6f8aa3a27a32d97aeecd277b8b7eafceccb73c..760b44b19dcf8437411e3031dc79f8f69e44b971 100644 (file)
@@ -27,31 +27,31 @@ foreach ($longVals as $longVal) {
 ?>
 --EXPECT--
 --- testing: 9223372036854775807 ---
-float(43.668272375277)
+float(43.66827237527655)
 --- testing: -9223372036854775808 ---
 float(NAN)
 --- testing: 2147483647 ---
-float(21.487562597358)
+float(21.487562597358306)
 --- testing: -2147483648 ---
 float(NAN)
 --- testing: 9223372034707292160 ---
-float(43.668272375044)
+float(43.66827237504372)
 --- testing: -9223372034707292160 ---
 float(NAN)
 --- testing: 2147483648 ---
-float(21.487562597824)
+float(21.487562597823967)
 --- testing: -2147483649 ---
 float(NAN)
 --- testing: 4294967294 ---
-float(22.180709777685)
+float(22.18070977768542)
 --- testing: 4294967295 ---
-float(22.180709777918)
+float(22.18070977791825)
 --- testing: 4294967293 ---
-float(22.180709777453)
+float(22.180709777452588)
 --- testing: 9223372036854775806 ---
-float(43.668272375277)
+float(43.66827237527655)
 --- testing: 9.2233720368548E+18 ---
-float(43.668272375277)
+float(43.66827237527655)
 --- testing: -9223372036854775807 ---
 float(NAN)
 --- testing: -9.2233720368548E+18 ---
index 8ff1c88ccfc3d3880262ce9eb8b051f1fc52e26e..84e72bb14d7fc8768331eb0ddbf8d2615caec30c 100644 (file)
@@ -30,30 +30,30 @@ for ($i = 0; $i < count($values); $i++) {
 }
 ?>
 --EXPECT--
- LOG tests...no base
-float(3.1354942159291)
+LOG tests...no base
+float(3.1354942159291497)
 float(NAN)
-float(3.1548704948923)
+float(3.1548704948922883)
 float(NAN)
-float(3.1354942159291)
-float(3.1354942159291)
-float(3.1354942159291)
-float(3.1548704948923)
-float(3.1548704948923)
+float(3.1354942159291497)
+float(3.1354942159291497)
+float(3.1354942159291497)
+float(3.1548704948922883)
+float(3.1548704948922883)
 float(-INF)
 float(0)
 float(-INF)
 
  LOG tests...base
-float(2.2617809780285)
+float(2.2617809780285065)
 float(NAN)
-float(2.275758008814)
+float(2.275758008814007)
 float(NAN)
-float(2.2617809780285)
-float(2.2617809780285)
-float(2.2617809780285)
-float(2.275758008814)
-float(2.275758008814)
+float(2.2617809780285065)
+float(2.2617809780285065)
+float(2.2617809780285065)
+float(2.275758008814007)
+float(2.275758008814007)
 float(-INF)
 float(0)
 float(-INF)
index c0598fed8be6b3fac830ef1040d221b6ddfd8018..a26e1ce619b6c475afddf54731fc2be2d1869ca7 100644 (file)
@@ -27,31 +27,31 @@ foreach ($longVals as $longVal) {
 ?>
 --EXPECT--
 --- testing: 9223372036854775807 ---
-float(43.668272375277)
+float(43.66827237527655)
 --- testing: -9223372036854775808 ---
 float(NAN)
 --- testing: 2147483647 ---
-float(21.487562596893)
+float(21.487562596892644)
 --- testing: -2147483648 ---
 float(NAN)
 --- testing: 9223372034707292160 ---
-float(43.668272375044)
+float(43.66827237504372)
 --- testing: -9223372034707292160 ---
 float(NAN)
 --- testing: 2147483648 ---
-float(21.487562597358)
+float(21.487562597358306)
 --- testing: -2147483649 ---
 float(NAN)
 --- testing: 4294967294 ---
-float(22.180709777453)
+float(22.180709777452588)
 --- testing: 4294967295 ---
-float(22.180709777685)
+float(22.18070977768542)
 --- testing: 4294967293 ---
-float(22.18070977722)
+float(22.180709777219757)
 --- testing: 9223372036854775806 ---
-float(43.668272375277)
+float(43.66827237527655)
 --- testing: 9.2233720368548E+18 ---
-float(43.668272375277)
+float(43.66827237527655)
 --- testing: -9223372036854775807 ---
 float(NAN)
 --- testing: -9.2233720368548E+18 ---
index 4e9d88def652dcb139202dad892fc9707767afd1..06e0dd3929d2957c4ed0383a879bd3d095646056 100644 (file)
@@ -34,15 +34,15 @@ foreach ($octLongStrs as $strVal) {
 --- testing: 777777777777777777777 ---
 int(9223372036854775807)
 --- testing: 1777777777777777777777 ---
-float(1.844674407371E+19)
+float(1.8446744073709552E+19)
 --- testing: 17777777777 ---
 int(2147483647)
 --- testing: 37777777777 ---
 int(4294967295)
 --- testing: 377777777777777777777777 ---
-float(2.3611832414348E+21)
+float(2.3611832414348226E+21)
 --- testing: 17777777777777777777777777 ---
-float(7.5557863725914E+22)
+float(7.555786372591432E+22)
 --- testing: 377777777777 ---
 int(34359738367)
 --- testing: 777777777777 ---
index d955edfcf33f077eb18bd60fbc9b9d2a3d4c9451..942a91a2ec3fe0ff5b490bce02aa4bd7d024bfaf 100644 (file)
@@ -35,11 +35,11 @@ int(1)
 --- testing: 9223372036854775807, 1 ---
 int(9223372036854775807)
 --- testing: 9223372036854775807, -1 ---
-float(1.0842021724855E-19)
+float(1.0842021724855044E-19)
 --- testing: 9223372036854775807, 7 ---
-float(5.6784275335594E+132)
+float(5.678427533559429E+132)
 --- testing: 9223372036854775807, 9 ---
-float(4.8306719037716E+170)
+float(4.830671903771573E+170)
 --- testing: 9223372036854775807, 65 ---
 float(INF)
 --- testing: 9223372036854775807, -44 ---
@@ -57,11 +57,11 @@ int(1)
 --- testing: -9223372036854775808, 1 ---
 int(-9223372036854775808)
 --- testing: -9223372036854775808, -1 ---
-float(-1.0842021724855E-19)
+float(-1.0842021724855044E-19)
 --- testing: -9223372036854775808, 7 ---
-float(-5.6784275335594E+132)
+float(-5.678427533559429E+132)
 --- testing: -9223372036854775808, 9 ---
-float(-4.8306719037716E+170)
+float(-4.830671903771573E+170)
 --- testing: -9223372036854775808, 65 ---
 float(-INF)
 --- testing: -9223372036854775808, -44 ---
@@ -79,11 +79,11 @@ int(1)
 --- testing: 2147483647, 1 ---
 int(2147483647)
 --- testing: 2147483647, -1 ---
-float(4.6566128752458E-10)
+float(4.656612875245797E-10)
 --- testing: 2147483647, 7 ---
-float(2.1062458265056E+65)
+float(2.1062458265055637E+65)
 --- testing: 2147483647, 9 ---
-float(9.7133444204205E+83)
+float(9.713344420420489E+83)
 --- testing: 2147483647, 65 ---
 float(INF)
 --- testing: 2147483647, -44 ---
@@ -101,11 +101,11 @@ int(1)
 --- testing: -2147483648, 1 ---
 int(-2147483648)
 --- testing: -2147483648, -1 ---
-float(-4.6566128730774E-10)
+float(-4.656612873077393E-10)
 --- testing: -2147483648, 7 ---
-float(-2.1062458333711E+65)
+float(-2.1062458333711437E+65)
 --- testing: -2147483648, 9 ---
-float(-9.7133444611286E+83)
+float(-9.713344461128645E+83)
 --- testing: -2147483648, 65 ---
 float(-INF)
 --- testing: -2147483648, -44 ---
@@ -123,11 +123,11 @@ int(1)
 --- testing: 9223372034707292160, 1 ---
 int(9223372034707292160)
 --- testing: 9223372034707292160, -1 ---
-float(1.0842021727379E-19)
+float(1.08420217273794E-19)
 --- testing: 9223372034707292160, 7 ---
-float(5.6784275243046E+132)
+float(5.678427524304645E+132)
 --- testing: 9223372034707292160, 9 ---
-float(4.830671893649E+170)
+float(4.830671893649017E+170)
 --- testing: 9223372034707292160, 65 ---
 float(INF)
 --- testing: 9223372034707292160, -44 ---
@@ -145,11 +145,11 @@ int(1)
 --- testing: -9223372034707292160, 1 ---
 int(-9223372034707292160)
 --- testing: -9223372034707292160, -1 ---
-float(-1.0842021727379E-19)
+float(-1.08420217273794E-19)
 --- testing: -9223372034707292160, 7 ---
-float(-5.6784275243046E+132)
+float(-5.678427524304645E+132)
 --- testing: -9223372034707292160, 9 ---
-float(-4.830671893649E+170)
+float(-4.830671893649017E+170)
 --- testing: -9223372034707292160, 65 ---
 float(-INF)
 --- testing: -9223372034707292160, -44 ---
@@ -167,11 +167,11 @@ int(1)
 --- testing: 2147483648, 1 ---
 int(2147483648)
 --- testing: 2147483648, -1 ---
-float(4.6566128730774E-10)
+float(4.656612873077393E-10)
 --- testing: 2147483648, 7 ---
-float(2.1062458333711E+65)
+float(2.1062458333711437E+65)
 --- testing: 2147483648, 9 ---
-float(9.7133444611286E+83)
+float(9.713344461128645E+83)
 --- testing: 2147483648, 65 ---
 float(INF)
 --- testing: 2147483648, -44 ---
@@ -189,11 +189,11 @@ int(1)
 --- testing: -2147483649, 1 ---
 int(-2147483649)
 --- testing: -2147483649, -1 ---
-float(-4.656612870909E-10)
+float(-4.656612870908988E-10)
 --- testing: -2147483649, 7 ---
-float(-2.1062458402367E+65)
+float(-2.1062458402367238E+65)
 --- testing: -2147483649, 9 ---
-float(-9.7133445018368E+83)
+float(-9.713344501836802E+83)
 --- testing: -2147483649, 65 ---
 float(-INF)
 --- testing: -2147483649, -44 ---
@@ -211,11 +211,11 @@ int(1)
 --- testing: 4294967294, 1 ---
 int(4294967294)
 --- testing: 4294967294, -1 ---
-float(2.3283064376229E-10)
+float(2.3283064376228985E-10)
 --- testing: 4294967294, 7 ---
-float(2.6959946579271E+67)
+float(2.6959946579271215E+67)
 --- testing: 4294967294, 9 ---
-float(4.9732323432553E+86)
+float(4.9732323432552904E+86)
 --- testing: 4294967294, 65 ---
 float(INF)
 --- testing: 4294967294, -44 ---
@@ -233,11 +233,11 @@ int(1)
 --- testing: 4294967295, 1 ---
 int(4294967295)
 --- testing: 4294967295, -1 ---
-float(2.3283064370808E-10)
+float(2.3283064370807974E-10)
 --- testing: 4294967295, 7 ---
-float(2.6959946623211E+67)
+float(2.6959946623210928E+67)
 --- testing: 4294967295, 9 ---
-float(4.9732323536766E+86)
+float(4.9732323536765784E+86)
 --- testing: 4294967295, 65 ---
 float(INF)
 --- testing: 4294967295, -44 ---
@@ -255,11 +255,11 @@ int(1)
 --- testing: 4294967293, 1 ---
 int(4294967293)
 --- testing: 4294967293, -1 ---
-float(2.328306438165E-10)
+float(2.3283064381649995E-10)
 --- testing: 4294967293, 7 ---
-float(2.6959946535332E+67)
+float(2.6959946535331503E+67)
 --- testing: 4294967293, 9 ---
-float(4.973232332834E+86)
+float(4.9732323328340023E+86)
 --- testing: 4294967293, 65 ---
 float(INF)
 --- testing: 4294967293, -44 ---
@@ -277,11 +277,11 @@ int(1)
 --- testing: 9223372036854775806, 1 ---
 int(9223372036854775806)
 --- testing: 9223372036854775806, -1 ---
-float(1.0842021724855E-19)
+float(1.0842021724855044E-19)
 --- testing: 9223372036854775806, 7 ---
-float(5.6784275335594E+132)
+float(5.678427533559429E+132)
 --- testing: 9223372036854775806, 9 ---
-float(4.8306719037716E+170)
+float(4.830671903771573E+170)
 --- testing: 9223372036854775806, 65 ---
 float(INF)
 --- testing: 9223372036854775806, -44 ---
@@ -297,13 +297,13 @@ float(0)
 --- testing: 9.2233720368548E+18, 0 ---
 float(1)
 --- testing: 9.2233720368548E+18, 1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18, -1 ---
-float(1.0842021724855E-19)
+float(1.0842021724855044E-19)
 --- testing: 9.2233720368548E+18, 7 ---
-float(5.6784275335594E+132)
+float(5.678427533559429E+132)
 --- testing: 9.2233720368548E+18, 9 ---
-float(4.8306719037716E+170)
+float(4.830671903771573E+170)
 --- testing: 9.2233720368548E+18, 65 ---
 float(INF)
 --- testing: 9.2233720368548E+18, -44 ---
@@ -321,11 +321,11 @@ int(1)
 --- testing: -9223372036854775807, 1 ---
 int(-9223372036854775807)
 --- testing: -9223372036854775807, -1 ---
-float(-1.0842021724855E-19)
+float(-1.0842021724855044E-19)
 --- testing: -9223372036854775807, 7 ---
-float(-5.6784275335594E+132)
+float(-5.678427533559429E+132)
 --- testing: -9223372036854775807, 9 ---
-float(-4.8306719037716E+170)
+float(-4.830671903771573E+170)
 --- testing: -9223372036854775807, 65 ---
 float(-INF)
 --- testing: -9223372036854775807, -44 ---
@@ -341,13 +341,13 @@ float(0)
 --- testing: -9.2233720368548E+18, 0 ---
 float(1)
 --- testing: -9.2233720368548E+18, 1 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18, -1 ---
-float(-1.0842021724855E-19)
+float(-1.0842021724855044E-19)
 --- testing: -9.2233720368548E+18, 7 ---
-float(-5.6784275335594E+132)
+float(-5.678427533559429E+132)
 --- testing: -9.2233720368548E+18, 9 ---
-float(-4.8306719037716E+170)
+float(-4.830671903771573E+170)
 --- testing: -9.2233720368548E+18, 65 ---
 float(-INF)
 --- testing: -9.2233720368548E+18, -44 ---
index e005ced5609be05c776498c95f7420194355a714..9c5bd062722ae533bf24d2d8ce10ef12e94dde8d 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test pow() function : usage variations - different data types as $base argument
 --INI--
-precision = 14
+serialize_precision = 14
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
index 636c65eabf3c8334f63884ed3aaafecb50856a5f..c8a9509bb7de3cd11473baad97607560da1f08de 100644 (file)
@@ -110,7 +110,7 @@ int(1881365963625)
 int(-12895213625)
 
 -- Iteration 5 --
-float(7.8463771692334E+56)
+float(7.846377169233351E+56)
 
 -- Iteration 6 --
 float(1157.625)
@@ -119,10 +119,10 @@ float(1157.625)
 float(-1157.625)
 
 -- Iteration 8 --
-float(1.8816763717892E+33)
+float(1.8816763717891549E+33)
 
 -- Iteration 9 --
-float(1.8816763717892E-27)
+float(1.8816763717891545E-27)
 
 -- Iteration 10 --
 float(0.125)
index ad86e1721ee3eb2365857241220ed4f1fa64d286..de17e5fec793dd4d2f5e729ac1c2be5ba4f8a1ae 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test pow() function : usage variations - different data types as $exp argument
 --INI--
-precision = 14
+serialize_precision = 14
 --FILE--
 <?php
 /* Prototype  : number pow  ( number $base  , number $exp  )
index fbde4ab58505b94c3442e5176b9cf3b2aaf602b4..a590862db0c7dfd773586a17cfa49aacef610276 100644 (file)
@@ -27,32 +27,32 @@ foreach ($longVals as $longVal) {
 ?>
 --EXPECT--
 --- testing: 9223372036854775807 ---
-float(5.2846029059076E+20)
+float(5.2846029059076024E+20)
 --- testing: -9223372036854775808 ---
-float(-5.2846029059076E+20)
+float(-5.2846029059076024E+20)
 --- testing: 2147483647 ---
-float(123041749546.46)
+float(123041749546.46191)
 --- testing: -2147483648 ---
-float(-123041749603.76)
+float(-123041749603.75769)
 --- testing: 9223372034707292160 ---
-float(5.2846029046772E+20)
+float(5.284602904677184E+20)
 --- testing: -9223372034707292160 ---
-float(-5.2846029046772E+20)
+float(-5.284602904677184E+20)
 --- testing: 2147483648 ---
-float(123041749603.76)
+float(123041749603.75769)
 --- testing: -2147483649 ---
-float(-123041749661.05)
+float(-123041749661.05348)
 --- testing: 4294967294 ---
-float(246083499092.92)
+float(246083499092.92383)
 --- testing: 4294967295 ---
-float(246083499150.22)
+float(246083499150.21957)
 --- testing: 4294967293 ---
-float(246083499035.63)
+float(246083499035.62805)
 --- testing: 9223372036854775806 ---
-float(5.2846029059076E+20)
+float(5.2846029059076024E+20)
 --- testing: 9.2233720368548E+18 ---
-float(5.2846029059076E+20)
+float(5.2846029059076024E+20)
 --- testing: -9223372036854775807 ---
-float(-5.2846029059076E+20)
+float(-5.2846029059076024E+20)
 --- testing: -9.2233720368548E+18 ---
-float(-5.2846029059076E+20)
+float(-5.2846029059076024E+20)
index 7144f18b61796fca75cef97298d5f5ab4aa5d84e..aa2eb325b66f61791d2fa2a56a3dbbc5b62ee285 100644 (file)
@@ -34,19 +34,19 @@ for ($i = 0; $i < count($values); $i++) {
 
 ?>
 --EXPECTF--
-float(1317.802929)
-float(-1317.802929)
-float(1343.58603)
-float(-1343.58603)
-float(1317.802929)
-float(1317.802929)
-float(1317.802929)
-float(1343.58603)
-float(1343.58603)
-float(57295.77951)
+float(1317.8029288008934)
+float(-1317.8029288008934)
+float(1343.5860295817804)
+float(-1343.5860295817804)
+float(1317.8029288008934)
+float(1317.8029288008934)
+float(1317.8029288008934)
+float(1343.5860295817804)
+float(1343.5860295817804)
+float(57295.77951308232)
 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(57295.77951)
+float(57295.77951308232)
 float(0)
-float(57.29577951)
+float(57.29577951308232)
 float(0)
index ee666844949dda94c88c72b9cdb6b6720a7c831e..c4ff1faf2626176f707407e3a6741bad1de23a7b 100644 (file)
@@ -27,17 +27,17 @@ foreach ($longVals as $longVal) {
 ?>
 --EXPECT--
 --- testing: 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 2147483647 ---
 float(2147483647)
 --- testing: -2147483648 ---
 float(-2147483648)
 --- testing: 9223372034707292160 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: -9223372034707292160 ---
-float(-9.2233720347073E+18)
+float(-9.223372034707292E+18)
 --- testing: 2147483648 ---
 float(2147483648)
 --- testing: -2147483649 ---
@@ -49,10 +49,10 @@ float(4294967295)
 --- testing: 4294967293 ---
 float(4294967293)
 --- testing: 9223372036854775806 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
index 35775d2f0bf5892ad958ea57a241f489e3f00b76..6eddd1aa8b00ccca8adefcb79888211ddcb8fb87 100644 (file)
@@ -4,6 +4,8 @@ Test sin function : 64bit long tests
 <?php
 if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
 ?>
+--INI--
+serialize_precision=14
 --FILE--
 <?php
 
index bad70c710db0a9128245864e6e615edbaaec9918..8d4b1b86704119af83124617d3433a331a891d16 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test variations in usage of sin()
 --INI--
-precision = 10
+serialize_precision = 10
 --FILE--
 <?php
 /*
index 5b3a79ca780c2b114fe9a60a28c5fc6fd888cfb3..eb6a0f1cbd58df04326f6a6c48ac235adc78b6bc 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test variations in usage of sinh()
 --INI--
-precision = 10
+serialize_precision = 10
 --FILE--
 <?php
 /*
index a20cccad79a8b985077085f5f7718065a63705f0..e22eaac9be7d75c56d372868c340ebc450f40a86 100644 (file)
@@ -27,31 +27,31 @@ foreach ($longVals as $longVal) {
 ?>
 --EXPECT--
 --- testing: 9223372036854775807 ---
-float(3037000499.976)
+float(3037000499.97605)
 --- testing: -9223372036854775808 ---
 float(NAN)
 --- testing: 2147483647 ---
-float(46340.950001052)
+float(46340.950001051984)
 --- testing: -2147483648 ---
 float(NAN)
 --- testing: 9223372034707292160 ---
-float(3037000499.6225)
+float(3037000499.622496)
 --- testing: -9223372034707292160 ---
 float(NAN)
 --- testing: 2147483648 ---
-float(46340.950011842)
+float(46340.95001184158)
 --- testing: -2147483649 ---
 float(NAN)
 --- testing: 4294967294 ---
-float(65535.999984741)
+float(65535.99998474121)
 --- testing: 4294967295 ---
-float(65535.999992371)
+float(65535.999992370605)
 --- testing: 4294967293 ---
-float(65535.999977112)
+float(65535.99997711182)
 --- testing: 9223372036854775806 ---
-float(3037000499.976)
+float(3037000499.97605)
 --- testing: 9.2233720368548E+18 ---
-float(3037000499.976)
+float(3037000499.97605)
 --- testing: -9223372036854775807 ---
 float(NAN)
 --- testing: -9.2233720368548E+18 ---
index 75c460db7af4218a1f2fd82844b818f29a9d6723..6166de905c773b594c2532fb48e879e9da590339 100644 (file)
@@ -36,19 +36,19 @@ for ($i = 0; $i < count($values); $i++) {
 ?>
 --EXPECTF--
 *** Testing sqrt() : usage variations ***
-float(4.7958315233127)
+float(4.795831523312719)
 float(NAN)
 float(4.8425200051213)
 float(NAN)
-float(4.7958315233127)
-float(4.7958315233127)
-float(4.7958315233127)
+float(4.795831523312719)
+float(4.795831523312719)
+float(4.795831523312719)
 float(4.8425200051213)
 float(4.8425200051213)
-float(31.622776601684)
+float(31.622776601683793)
 
 Notice: A non well formed numeric value encountered in %s on line %d
-float(31.622776601684)
+float(31.622776601683793)
 float(0)
 float(1)
 float(0)
index 29c057ce69350abf2aa60d3db420599069b42521..744185d14bccd3e55160a31dfc9769c933387d59 100644 (file)
@@ -1,11 +1,11 @@
 --TEST--
 Test tan function : 64bit long tests
---INI--
-precision=5
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
 ?>
+--INI--
+serialize_precision=5
 --FILE--
 <?php
 
@@ -52,9 +52,9 @@ float(-0.57225)
 float(0.71667)
 --- testing: 9223372036854775806 ---
 float(84.739)
---- testing: 9.2234E+18 ---
+--- testing: 9.2233720368548E+18 ---
 float(84.739)
 --- testing: -9223372036854775807 ---
 float(-84.739)
---- testing: -9.2234E+18 ---
+--- testing: -9.2233720368548E+18 ---
 float(-84.739)
index 1575e24694487f39a21b9fce81ceecc682591161..6aa57e75ff116d03e78d38512bdce669d448bf8e 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test variations in usage of tan()
 --INI--
-precision = 10
+serialize_precision = 10
 --FILE--
 <?php
 /*
index 502130c5d4a2ca304440caa6d361d19985d4b325..5ea8d8a98fbd748676bb9928d3c219c6439cad68 100644 (file)
@@ -48,5 +48,5 @@ float(1)
 Notice: A non well formed numeric value encountered in %s on line %d
 float(1)
 float(0)
-float(0.761594156)
+float(0.7615941559557649)
 float(0)
index cf54f40406ae20e13a593f287a1769172e01a4c4..11a6c15e3a83e86e9165b5dfab95d4c8aae224a5 100644 (file)
@@ -16,10 +16,10 @@ d:100;
 float\(100\)
 
 d:5[0-9]*;
-float\(5\.2E\+25\)
+float\(5[0-9]*\)
 
 d:8\.52[89][0-9]+E-22;
-float\(8\.529E-22\)
+float\(8\.52[89][0-9]+E-22\)
 
 d:8\.[9]*[0-9]*E-9;
-float\(9\.0E-9\)
+float\(8\.[9]*[0-9]*E-9\)
index 1e8cf1acf21edacbc6c44c8fc446029bd024b2a6..93c54787d0cd86663b5fbcada6e521f6299c580f 100644 (file)
@@ -47,7 +47,7 @@ array(7) {
   [2]=>
   int(-2)
   [3]=>
-  float(3.333333)
+  float(3.333333000000000101437080957111902534961700439453125)
   [4]=>
   string(1) "a"
   [5]=>
@@ -62,7 +62,7 @@ array(7) {
     [2]=>
     int(-2)
     [3]=>
-    float(3.333333)
+    float(3.333333000000000101437080957111902534961700439453125)
     [4]=>
     string(1) "a"
     [5]=>
index e9215cf5619a5349ed1c413680508b2a13696fcf..ed9af46097cf0fa89d2226bbcbad0f42da09e6c4 100644 (file)
Binary files a/ext/standard/tests/serialize/serialization_miscTypes_001.phpt and b/ext/standard/tests/serialize/serialization_miscTypes_001.phpt differ
index cb50d5174b95b58aa96a8043404dccab7d5a4f67..7142a290495ca82955f3128e0fafa36ba2d06f15 100644 (file)
Binary files a/ext/standard/tests/serialize/serialization_objects_001.phpt and b/ext/standard/tests/serialize/serialization_objects_001.phpt differ
index 920fd35310704abdd7a18cb4f1232fbeb3dbd2a3..fd71292e8990e2849eb0d4dea4c9cce8baa758b1 100644 (file)
Binary files a/ext/standard/tests/serialize/serialization_objects_002.phpt and b/ext/standard/tests/serialize/serialization_objects_002.phpt differ
index d72c471fae3e51a0b2642dace5e620eb86a3474b..a13af74e22834c77172028713be84a776f758bf3 100644 (file)
@@ -59,7 +59,7 @@ object(extendName)#%d (3) {
   ["a"]=>
   int(10)
   ["b"]=>
-  float(12.222)
+  float(12.2219999999999995310417943983338773250579833984375)
   ["c"]=>
   string(6) "string"
 }
index b86c5992990da36061c6a0745684aef0ef4986e0..11a228d748949f392dbac48978222332a7e85a5f 100644 (file)
@@ -189,11 +189,11 @@ array(1) {
 }
 array(1) {
   [1]=>
-  float(1.0E+16)
+  float(10000000000000000)
 }
 array(1) {
   [1]=>
-  float(0.59123470982315)
+  float(0.591234709823149)
 }
 array(1) {
   [1]=>
@@ -201,15 +201,15 @@ array(1) {
 }
 array(1) {
   [1]=>
-  float(-1.0E+16)
+  float(-10000000000000000)
 }
 array(1) {
   [1]=>
-  float(-0.59123470982315)
+  float(-0.591234709823149)
 }
 array(1) {
   [1]=>
-  float(-1.2345678901235E+19)
+  float(-1.2345678901234567E+19)
 }
 string(8) "unpack E"
 array(1) {
@@ -218,15 +218,15 @@ array(1) {
 }
 array(1) {
   [1]=>
-  float(1.0E+16)
+  float(10000000000000000)
 }
 array(1) {
   [1]=>
-  float(0.59123470982315)
+  float(0.591234709823149)
 }
 array(1) {
   [1]=>
-  float(1.2345678901235E+19)
+  float(1.2345678901234567E+19)
 }
 array(1) {
   [1]=>
@@ -234,15 +234,15 @@ array(1) {
 }
 array(1) {
   [1]=>
-  float(-1.0E+16)
+  float(-10000000000000000)
 }
 array(1) {
   [1]=>
-  float(-0.59123470982315)
+  float(-0.591234709823149)
 }
 array(1) {
   [1]=>
-  float(-1.2345678901235E+19)
+  float(-1.2345678901234567E+19)
 }
 string(8) "unpack g"
 array(1) {
@@ -251,15 +251,15 @@ array(1) {
 }
 array(1) {
   [1]=>
-  float(1.0000000272564E+16)
+  float(10000000272564224)
 }
 array(1) {
   [1]=>
-  float(0.59123468399048)
+  float(0.5912346839904785)
 }
 array(1) {
   [1]=>
-  float(1.2345679395506E+19)
+  float(1.2345679395506094E+19)
 }
 array(1) {
   [1]=>
@@ -267,15 +267,15 @@ array(1) {
 }
 array(1) {
   [1]=>
-  float(-1.0000000272564E+16)
+  float(-10000000272564224)
 }
 array(1) {
   [1]=>
-  float(-0.59123468399048)
+  float(-0.5912346839904785)
 }
 array(1) {
   [1]=>
-  float(-1.2345679395506E+19)
+  float(-1.2345679395506094E+19)
 }
 string(8) "unpack G"
 array(1) {
@@ -284,15 +284,15 @@ array(1) {
 }
 array(1) {
   [1]=>
-  float(1.0000000272564E+16)
+  float(10000000272564224)
 }
 array(1) {
   [1]=>
-  float(0.59123468399048)
+  float(0.5912346839904785)
 }
 array(1) {
   [1]=>
-  float(1.2345679395506E+19)
+  float(1.2345679395506094E+19)
 }
 array(1) {
   [1]=>
@@ -300,13 +300,13 @@ array(1) {
 }
 array(1) {
   [1]=>
-  float(-1.0000000272564E+16)
+  float(-10000000272564224)
 }
 array(1) {
   [1]=>
-  float(-0.59123468399048)
+  float(-0.5912346839904785)
 }
 array(1) {
   [1]=>
-  float(-1.2345679395506E+19)
+  float(-1.2345679395506094E+19)
 }
index 20ae4854cea161181a059b7fd0f520fe36711365..1a0b30f8916769e47fb7d9d93651d455e5bfa936 100644 (file)
@@ -31,7 +31,7 @@ int(3)
 int(0)
 int(1)
 int(7)
-float(54.545454545455)
+float(54.54545454545455)
 float(0)
-float(18.181818181818)
-float(51.851851851852)
+float(18.181818181818183)
+float(51.851851851851855)
index 3f7db8faafd660a813af93f1bfd0791cb45477c6..dc133dd5ce5eb79a75e06597cbc46ffd032611a7 100644 (file)
@@ -114,7 +114,7 @@ again:
                        php_printf("%sint(" ZEND_LONG_FMT ")\n", COMMON, Z_LVAL_P(struc));
                        break;
                case IS_DOUBLE:
-                       php_printf("%sfloat(%.*G)\n", COMMON, (int) EG(precision), Z_DVAL_P(struc));
+                       php_printf("%sfloat(%.*G)\n", COMMON, (int) PG(serialize_precision), Z_DVAL_P(struc));
                        break;
                case IS_STRING:
                        php_printf("%sstring(%zd) \"", COMMON, Z_STRLEN_P(struc));
@@ -295,7 +295,7 @@ again:
                php_printf("%sint(" ZEND_LONG_FMT ")\n", COMMON, Z_LVAL_P(struc));
                break;
        case IS_DOUBLE:
-               php_printf("%sfloat(%.*G)\n", COMMON, (int) EG(precision), Z_DVAL_P(struc));
+               php_printf("%sfloat(%.*G)\n", COMMON, (int) PG(serialize_precision), Z_DVAL_P(struc));
                break;
        case IS_STRING:
                php_printf("%sstring(%zd) \"", COMMON, Z_STRLEN_P(struc));
index 85252e644eee903f9970dc9438031bfe103461b2..ebcaabba02a5af6f5dc62dda027befb95385d5fc 100755 (executable)
@@ -254,6 +254,7 @@ NO_PROC_OPEN_ERROR;
         'auto_append_file=',
         'ignore_repeated_errors=0',
         'precision=14',
+        'serialize_precision=-1',
         'memory_limit=128M',
         'log_errors_max_len=0',
         'opcache.fast_shutdown=0',
index 7095fed1fe91ed49c28800cd6471e82c343ad756..a8cb438fca7117cb11e0929079812db7c972a25b 100644 (file)
@@ -36,22 +36,22 @@ test(1.7e-1000);
 ?>
 --EXPECTF--
 1.7000000000000001E+300
-float(1.7E+300)
+float(1.7000000000000001E+300)
 1.7E+300
 1.7E+300
 ------
 1.7000000000000001E-300
-float(1.7E-300)
+float(1.7000000000000001E-300)
 1.7E-300
 1.7E-300
 ------
 1.7000000000000002E+79
-float(1.7E+79)
+float(1.7000000000000002E+79)
 1.7E+79
 1.7E+79
 ------
 1.6999999999999999E-79
-float(1.7E-79)
+float(1.6999999999999999E-79)
 1.7E-79
 1.7E-79
 ------
@@ -71,7 +71,7 @@ float(1.7E+81)
 1.7E+81
 ------
 1.6999999999999999E-81
-float(1.7E-81)
+float(1.6999999999999999E-81)
 1.7E-81
 1.7E-81
 ------
@@ -81,7 +81,7 @@ I%s
 I%s
 ------
 1.6999810742105611E-319
-float(1.69998107421E-319)
+float(1.6999810742105611E-319)
 1.69998107421E-319
 1.69998107421E-319
 ------
@@ -91,7 +91,7 @@ I%s
 I%s
 ------
 1.7000798873397294E-320
-float(1.70007988734E-320)
+float(1.7000798873397294E-320)
 1.70007988734E-320
 1.70007988734E-320
 ------
@@ -101,7 +101,7 @@ I%s
 I%s
 ------
 1.6995858216938881E-321
-float(1.69958582169E-321)
+float(1.6995858216938881E-321)
 1.69958582169E-321
 1.69958582169E-321
 ------
index 6e09f49eb9413d5ba9e83254e11de7627476a2c7..2e7a4122436d5b4c9f2d2b02955f1c0d591f8de7 100644 (file)
@@ -41,27 +41,27 @@ foreach ($otherVals as $otherVal) {
 --- testing: 9223372036854775807 + 0 ---
 int(9223372036854775807)
 --- testing: 9223372036854775807 + 1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807 + -1 ---
 int(9223372036854775806)
 --- testing: 9223372036854775807 + 7 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807 + 9 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807 + 65 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807 + -44 ---
 int(9223372036854775763)
 --- testing: 9223372036854775807 + 2147483647 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: 9223372036854775807 + 9223372036854775807 ---
-float(1.844674407371E+19)
+float(1.8446744073709552E+19)
 --- testing: -9223372036854775808 + 0 ---
 int(-9223372036854775808)
 --- testing: -9223372036854775808 + 1 ---
 int(-9223372036854775807)
 --- testing: -9223372036854775808 + -1 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9223372036854775808 + 7 ---
 int(-9223372036854775801)
 --- testing: -9223372036854775808 + 9 ---
@@ -69,7 +69,7 @@ int(-9223372036854775799)
 --- testing: -9223372036854775808 + 65 ---
 int(-9223372036854775743)
 --- testing: -9223372036854775808 + -44 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9223372036854775808 + 2147483647 ---
 int(-9223372034707292161)
 --- testing: -9223372036854775808 + 9223372036854775807 ---
@@ -91,7 +91,7 @@ int(2147483603)
 --- testing: 2147483647 + 2147483647 ---
 int(4294967294)
 --- testing: 2147483647 + 9223372036854775807 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: -2147483648 + 0 ---
 int(-2147483648)
 --- testing: -2147483648 + 1 ---
@@ -127,7 +127,7 @@ int(9223372034707292116)
 --- testing: 9223372034707292160 + 2147483647 ---
 int(9223372036854775807)
 --- testing: 9223372034707292160 + 9223372036854775807 ---
-float(1.8446744071562E+19)
+float(1.8446744071562068E+19)
 --- testing: -9223372034707292160 + 0 ---
 int(-9223372034707292160)
 --- testing: -9223372034707292160 + 1 ---
@@ -163,7 +163,7 @@ int(2147483604)
 --- testing: 2147483648 + 2147483647 ---
 int(4294967295)
 --- testing: 2147483648 + 9223372036854775807 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: -2147483649 + 0 ---
 int(-2147483649)
 --- testing: -2147483649 + 1 ---
@@ -199,7 +199,7 @@ int(4294967250)
 --- testing: 4294967294 + 2147483647 ---
 int(6442450941)
 --- testing: 4294967294 + 9223372036854775807 ---
-float(9.2233720411497E+18)
+float(9.223372041149743E+18)
 --- testing: 4294967295 + 0 ---
 int(4294967295)
 --- testing: 4294967295 + 1 ---
@@ -217,7 +217,7 @@ int(4294967251)
 --- testing: 4294967295 + 2147483647 ---
 int(6442450942)
 --- testing: 4294967295 + 9223372036854775807 ---
-float(9.2233720411497E+18)
+float(9.223372041149743E+18)
 --- testing: 4294967293 + 0 ---
 int(4294967293)
 --- testing: 4294967293 + 1 ---
@@ -235,7 +235,7 @@ int(4294967249)
 --- testing: 4294967293 + 2147483647 ---
 int(6442450940)
 --- testing: 4294967293 + 9223372036854775807 ---
-float(9.2233720411497E+18)
+float(9.223372041149743E+18)
 --- testing: 9223372036854775806 + 0 ---
 int(9223372036854775806)
 --- testing: 9223372036854775806 + 1 ---
@@ -243,35 +243,35 @@ int(9223372036854775807)
 --- testing: 9223372036854775806 + -1 ---
 int(9223372036854775805)
 --- testing: 9223372036854775806 + 7 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775806 + 9 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775806 + 65 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775806 + -44 ---
 int(9223372036854775762)
 --- testing: 9223372036854775806 + 2147483647 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: 9223372036854775806 + 9223372036854775807 ---
-float(1.844674407371E+19)
+float(1.8446744073709552E+19)
 --- testing: 9.2233720368548E+18 + 0 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 + 1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 + -1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 + 7 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 + 9 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 + 65 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 + -44 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 + 2147483647 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: 9.2233720368548E+18 + 9223372036854775807 ---
-float(1.844674407371E+19)
+float(1.8446744073709552E+19)
 --- testing: -9223372036854775807 + 0 ---
 int(-9223372036854775807)
 --- testing: -9223372036854775807 + 1 ---
@@ -285,27 +285,27 @@ int(-9223372036854775798)
 --- testing: -9223372036854775807 + 65 ---
 int(-9223372036854775742)
 --- testing: -9223372036854775807 + -44 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9223372036854775807 + 2147483647 ---
 int(-9223372034707292160)
 --- testing: -9223372036854775807 + 9223372036854775807 ---
 int(0)
 --- testing: -9.2233720368548E+18 + 0 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 + 1 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 + -1 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 + 7 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 + 9 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 + 65 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 + -44 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 + 2147483647 ---
-float(-9.2233720347073E+18)
+float(-9.223372034707292E+18)
 --- testing: -9.2233720368548E+18 + 9223372036854775807 ---
 float(0)
 --- testing: 0 + 9223372036854775807 ---
@@ -333,13 +333,13 @@ int(4294967293)
 --- testing: 0 + 9223372036854775806 ---
 int(9223372036854775806)
 --- testing: 0 + 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 0 + -9223372036854775807 ---
 int(-9223372036854775807)
 --- testing: 0 + -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 1 + 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 1 + -9223372036854775808 ---
 int(-9223372036854775807)
 --- testing: 1 + 2147483647 ---
@@ -363,15 +363,15 @@ int(4294967294)
 --- testing: 1 + 9223372036854775806 ---
 int(9223372036854775807)
 --- testing: 1 + 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 1 + -9223372036854775807 ---
 int(-9223372036854775806)
 --- testing: 1 + -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -1 + 9223372036854775807 ---
 int(9223372036854775806)
 --- testing: -1 + -9223372036854775808 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -1 + 2147483647 ---
 int(2147483646)
 --- testing: -1 + -2147483648 ---
@@ -393,13 +393,13 @@ int(4294967292)
 --- testing: -1 + 9223372036854775806 ---
 int(9223372036854775805)
 --- testing: -1 + 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -1 + -9223372036854775807 ---
 int(-9223372036854775808)
 --- testing: -1 + -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 7 + 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 7 + -9223372036854775808 ---
 int(-9223372036854775801)
 --- testing: 7 + 2147483647 ---
@@ -421,15 +421,15 @@ int(4294967302)
 --- testing: 7 + 4294967293 ---
 int(4294967300)
 --- testing: 7 + 9223372036854775806 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 7 + 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 7 + -9223372036854775807 ---
 int(-9223372036854775800)
 --- testing: 7 + -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 9 + 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9 + -9223372036854775808 ---
 int(-9223372036854775799)
 --- testing: 9 + 2147483647 ---
@@ -451,15 +451,15 @@ int(4294967304)
 --- testing: 9 + 4294967293 ---
 int(4294967302)
 --- testing: 9 + 9223372036854775806 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9 + 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9 + -9223372036854775807 ---
 int(-9223372036854775798)
 --- testing: 9 + -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 65 + 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 65 + -9223372036854775808 ---
 int(-9223372036854775743)
 --- testing: 65 + 2147483647 ---
@@ -481,17 +481,17 @@ int(4294967360)
 --- testing: 65 + 4294967293 ---
 int(4294967358)
 --- testing: 65 + 9223372036854775806 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 65 + 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 65 + -9223372036854775807 ---
 int(-9223372036854775742)
 --- testing: 65 + -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -44 + 9223372036854775807 ---
 int(9223372036854775763)
 --- testing: -44 + -9223372036854775808 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -44 + 2147483647 ---
 int(2147483603)
 --- testing: -44 + -2147483648 ---
@@ -513,13 +513,13 @@ int(4294967249)
 --- testing: -44 + 9223372036854775806 ---
 int(9223372036854775762)
 --- testing: -44 + 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -44 + -9223372036854775807 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -44 + -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 2147483647 + 9223372036854775807 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: 2147483647 + -9223372036854775808 ---
 int(-9223372034707292161)
 --- testing: 2147483647 + 2147483647 ---
@@ -541,39 +541,39 @@ int(6442450942)
 --- testing: 2147483647 + 4294967293 ---
 int(6442450940)
 --- testing: 2147483647 + 9223372036854775806 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: 2147483647 + 9.2233720368548E+18 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: 2147483647 + -9223372036854775807 ---
 int(-9223372034707292160)
 --- testing: 2147483647 + -9.2233720368548E+18 ---
-float(-9.2233720347073E+18)
+float(-9.223372034707292E+18)
 --- testing: 9223372036854775807 + 9223372036854775807 ---
-float(1.844674407371E+19)
+float(1.8446744073709552E+19)
 --- testing: 9223372036854775807 + -9223372036854775808 ---
 int(-1)
 --- testing: 9223372036854775807 + 2147483647 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: 9223372036854775807 + -2147483648 ---
 int(9223372034707292159)
 --- testing: 9223372036854775807 + 9223372034707292160 ---
-float(1.8446744071562E+19)
+float(1.8446744071562068E+19)
 --- testing: 9223372036854775807 + -9223372034707292160 ---
 int(2147483647)
 --- testing: 9223372036854775807 + 2147483648 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: 9223372036854775807 + -2147483649 ---
 int(9223372034707292158)
 --- testing: 9223372036854775807 + 4294967294 ---
-float(9.2233720411497E+18)
+float(9.223372041149743E+18)
 --- testing: 9223372036854775807 + 4294967295 ---
-float(9.2233720411497E+18)
+float(9.223372041149743E+18)
 --- testing: 9223372036854775807 + 4294967293 ---
-float(9.2233720411497E+18)
+float(9.223372041149743E+18)
 --- testing: 9223372036854775807 + 9223372036854775806 ---
-float(1.844674407371E+19)
+float(1.8446744073709552E+19)
 --- testing: 9223372036854775807 + 9.2233720368548E+18 ---
-float(1.844674407371E+19)
+float(1.8446744073709552E+19)
 --- testing: 9223372036854775807 + -9223372036854775807 ---
 int(0)
 --- testing: 9223372036854775807 + -9.2233720368548E+18 ---
index cea37a0a26d30d8d4700845b162461ab8f053ada..69dd870dcc360be7ea17c3d04cefcf0a419c756e 100644 (file)
@@ -157,7 +157,7 @@ float(115.3)
 --- testing: '-7.7' + '123abc ' ---
 float(115.3)
 --- testing: '-7.7' + '3.4a' ---
-float(-4.3)
+float(-4.300000000000001)
 --- testing: '-7.7' + 'a5.9' ---
 float(-7.7)
 --- testing: 'abc' + '0' ---
@@ -365,7 +365,7 @@ float(-40.6)
 --- testing: '3.4a' + '1.2' ---
 float(4.6)
 --- testing: '3.4a' + '-7.7' ---
-float(-4.3)
+float(-4.300000000000001)
 --- testing: '3.4a' + 'abc' ---
 float(3.4)
 --- testing: '3.4a' + '123abc' ---
index d8c0e60dedc0d0c5c45427cf6d41248c619e9930..358d068843f118372f39405fb5608c3a9aee7ae1 100644 (file)
@@ -47,11 +47,11 @@ int(-9223372036854775807)
 --- testing: 9223372036854775807 / 7 ---
 int(1317624576693539401)
 --- testing: 9223372036854775807 / 9 ---
-float(1.0248191152061E+18)
+float(1.0248191152060861E+18)
 --- testing: 9223372036854775807 / 65 ---
-float(1.4189803133623E+17)
+float(1.4189803133622733E+17)
 --- testing: 9223372036854775807 / -44 ---
-float(-2.096220917467E+17)
+float(-2.0962209174669946E+17)
 --- testing: 9223372036854775807 / 2147483647 ---
 float(4294967298)
 --- testing: 9223372036854775807 / 9223372036854775807 ---
@@ -61,15 +61,15 @@ float(-INF)
 --- testing: -9223372036854775808 / 1 ---
 int(-9223372036854775808)
 --- testing: -9223372036854775808 / -1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808 / 7 ---
-float(-1.3176245766935E+18)
+float(-1.3176245766935393E+18)
 --- testing: -9223372036854775808 / 9 ---
-float(-1.0248191152061E+18)
+float(-1.0248191152060861E+18)
 --- testing: -9223372036854775808 / 65 ---
-float(-1.4189803133623E+17)
+float(-1.4189803133622733E+17)
 --- testing: -9223372036854775808 / -44 ---
-float(2.096220917467E+17)
+float(2.0962209174669946E+17)
 --- testing: -9223372036854775808 / 2147483647 ---
 float(-4294967298)
 --- testing: -9223372036854775808 / 9223372036854775807 ---
@@ -81,17 +81,17 @@ int(2147483647)
 --- testing: 2147483647 / -1 ---
 int(-2147483647)
 --- testing: 2147483647 / 7 ---
-float(306783378.14286)
+float(306783378.14285713)
 --- testing: 2147483647 / 9 ---
-float(238609294.11111)
+float(238609294.1111111)
 --- testing: 2147483647 / 65 ---
-float(33038209.953846)
+float(33038209.953846153)
 --- testing: 2147483647 / -44 ---
-float(-48806446.522727)
+float(-48806446.52272727)
 --- testing: 2147483647 / 2147483647 ---
 int(1)
 --- testing: 2147483647 / 9223372036854775807 ---
-float(2.3283064354545E-10)
+float(2.328306435454494E-10)
 --- testing: -2147483648 / 0 ---
 float(-INF)
 --- testing: -2147483648 / 1 ---
@@ -99,17 +99,17 @@ int(-2147483648)
 --- testing: -2147483648 / -1 ---
 int(2147483648)
 --- testing: -2147483648 / 7 ---
-float(-306783378.28571)
+float(-306783378.28571427)
 --- testing: -2147483648 / 9 ---
-float(-238609294.22222)
+float(-238609294.2222222)
 --- testing: -2147483648 / 65 ---
-float(-33038209.969231)
+float(-33038209.96923077)
 --- testing: -2147483648 / -44 ---
-float(48806446.545455)
+float(48806446.54545455)
 --- testing: -2147483648 / 2147483647 ---
-float(-1.0000000004657)
+float(-1.0000000004656613)
 --- testing: -2147483648 / 9223372036854775807 ---
-float(-2.3283064365387E-10)
+float(-2.3283064365386963E-10)
 --- testing: 9223372034707292160 / 0 ---
 float(INF)
 --- testing: 9223372034707292160 / 1 ---
@@ -117,17 +117,17 @@ int(9223372034707292160)
 --- testing: 9223372034707292160 / -1 ---
 int(-9223372034707292160)
 --- testing: 9223372034707292160 / 7 ---
-float(1.3176245763868E+18)
+float(1.317624576386756E+18)
 --- testing: 9223372034707292160 / 9 ---
-float(1.0248191149675E+18)
+float(1.0248191149674769E+18)
 --- testing: 9223372034707292160 / 65 ---
-float(1.4189803130319E+17)
+float(1.418980313031891E+17)
 --- testing: 9223372034707292160 / -44 ---
-float(-2.0962209169789E+17)
+float(-2.09622091697893E+17)
 --- testing: 9223372034707292160 / 2147483647 ---
 float(4294967297)
 --- testing: 9223372034707292160 / 9223372036854775807 ---
-float(0.99999999976717)
+float(0.9999999997671694)
 --- testing: -9223372034707292160 / 0 ---
 float(-INF)
 --- testing: -9223372034707292160 / 1 ---
@@ -135,17 +135,17 @@ int(-9223372034707292160)
 --- testing: -9223372034707292160 / -1 ---
 int(9223372034707292160)
 --- testing: -9223372034707292160 / 7 ---
-float(-1.3176245763868E+18)
+float(-1.317624576386756E+18)
 --- testing: -9223372034707292160 / 9 ---
-float(-1.0248191149675E+18)
+float(-1.0248191149674769E+18)
 --- testing: -9223372034707292160 / 65 ---
-float(-1.4189803130319E+17)
+float(-1.418980313031891E+17)
 --- testing: -9223372034707292160 / -44 ---
-float(2.0962209169789E+17)
+float(2.09622091697893E+17)
 --- testing: -9223372034707292160 / 2147483647 ---
 float(-4294967297)
 --- testing: -9223372034707292160 / 9223372036854775807 ---
-float(-0.99999999976717)
+float(-0.9999999997671694)
 --- testing: 2147483648 / 0 ---
 float(INF)
 --- testing: 2147483648 / 1 ---
@@ -153,17 +153,17 @@ int(2147483648)
 --- testing: 2147483648 / -1 ---
 int(-2147483648)
 --- testing: 2147483648 / 7 ---
-float(306783378.28571)
+float(306783378.28571427)
 --- testing: 2147483648 / 9 ---
-float(238609294.22222)
+float(238609294.2222222)
 --- testing: 2147483648 / 65 ---
-float(33038209.969231)
+float(33038209.96923077)
 --- testing: 2147483648 / -44 ---
-float(-48806446.545455)
+float(-48806446.54545455)
 --- testing: 2147483648 / 2147483647 ---
-float(1.0000000004657)
+float(1.0000000004656613)
 --- testing: 2147483648 / 9223372036854775807 ---
-float(2.3283064365387E-10)
+float(2.3283064365386963E-10)
 --- testing: -2147483649 / 0 ---
 float(-INF)
 --- testing: -2147483649 / 1 ---
@@ -171,17 +171,17 @@ int(-2147483649)
 --- testing: -2147483649 / -1 ---
 int(2147483649)
 --- testing: -2147483649 / 7 ---
-float(-306783378.42857)
+float(-306783378.4285714)
 --- testing: -2147483649 / 9 ---
-float(-238609294.33333)
+float(-238609294.33333334)
 --- testing: -2147483649 / 65 ---
-float(-33038209.984615)
+float(-33038209.984615386)
 --- testing: -2147483649 / -44 ---
-float(48806446.568182)
+float(48806446.56818182)
 --- testing: -2147483649 / 2147483647 ---
-float(-1.0000000009313)
+float(-1.0000000009313226)
 --- testing: -2147483649 / 9223372036854775807 ---
-float(-2.3283064376229E-10)
+float(-2.3283064376228985E-10)
 --- testing: 4294967294 / 0 ---
 float(INF)
 --- testing: 4294967294 / 1 ---
@@ -189,17 +189,17 @@ int(4294967294)
 --- testing: 4294967294 / -1 ---
 int(-4294967294)
 --- testing: 4294967294 / 7 ---
-float(613566756.28571)
+float(613566756.2857143)
 --- testing: 4294967294 / 9 ---
-float(477218588.22222)
+float(477218588.2222222)
 --- testing: 4294967294 / 65 ---
-float(66076419.907692)
+float(66076419.907692306)
 --- testing: 4294967294 / -44 ---
-float(-97612893.045455)
+float(-97612893.04545455)
 --- testing: 4294967294 / 2147483647 ---
 int(2)
 --- testing: 4294967294 / 9223372036854775807 ---
-float(4.656612870909E-10)
+float(4.656612870908988E-10)
 --- testing: 4294967295 / 0 ---
 float(INF)
 --- testing: 4294967295 / 1 ---
@@ -207,17 +207,17 @@ int(4294967295)
 --- testing: 4294967295 / -1 ---
 int(-4294967295)
 --- testing: 4294967295 / 7 ---
-float(613566756.42857)
+float(613566756.4285715)
 --- testing: 4294967295 / 9 ---
-float(477218588.33333)
+float(477218588.3333333)
 --- testing: 4294967295 / 65 ---
-float(66076419.923077)
+float(66076419.92307692)
 --- testing: 4294967295 / -44 ---
-float(-97612893.068182)
+float(-97612893.06818181)
 --- testing: 4294967295 / 2147483647 ---
-float(2.0000000004657)
+float(2.0000000004656613)
 --- testing: 4294967295 / 9223372036854775807 ---
-float(4.6566128719932E-10)
+float(4.6566128719931904E-10)
 --- testing: 4294967293 / 0 ---
 float(INF)
 --- testing: 4294967293 / 1 ---
@@ -225,17 +225,17 @@ int(4294967293)
 --- testing: 4294967293 / -1 ---
 int(-4294967293)
 --- testing: 4294967293 / 7 ---
-float(613566756.14286)
+float(613566756.1428572)
 --- testing: 4294967293 / 9 ---
-float(477218588.11111)
+float(477218588.1111111)
 --- testing: 4294967293 / 65 ---
-float(66076419.892308)
+float(66076419.89230769)
 --- testing: 4294967293 / -44 ---
-float(-97612893.022727)
+float(-97612893.02272727)
 --- testing: 4294967293 / 2147483647 ---
-float(1.9999999995343)
+float(1.9999999995343387)
 --- testing: 4294967293 / 9223372036854775807 ---
-float(4.6566128698248E-10)
+float(4.656612869824786E-10)
 --- testing: 9223372036854775806 / 0 ---
 float(INF)
 --- testing: 9223372036854775806 / 1 ---
@@ -243,13 +243,13 @@ int(9223372036854775806)
 --- testing: 9223372036854775806 / -1 ---
 int(-9223372036854775806)
 --- testing: 9223372036854775806 / 7 ---
-float(1.3176245766935E+18)
+float(1.3176245766935393E+18)
 --- testing: 9223372036854775806 / 9 ---
-float(1.0248191152061E+18)
+float(1.0248191152060861E+18)
 --- testing: 9223372036854775806 / 65 ---
-float(1.4189803133623E+17)
+float(1.4189803133622733E+17)
 --- testing: 9223372036854775806 / -44 ---
-float(-2.096220917467E+17)
+float(-2.0962209174669946E+17)
 --- testing: 9223372036854775806 / 2147483647 ---
 int(4294967298)
 --- testing: 9223372036854775806 / 9223372036854775807 ---
@@ -257,17 +257,17 @@ float(1)
 --- testing: 9.2233720368548E+18 / 0 ---
 float(INF)
 --- testing: 9.2233720368548E+18 / 1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 / -1 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 / 7 ---
-float(1.3176245766935E+18)
+float(1.3176245766935393E+18)
 --- testing: 9.2233720368548E+18 / 9 ---
-float(1.0248191152061E+18)
+float(1.0248191152060861E+18)
 --- testing: 9.2233720368548E+18 / 65 ---
-float(1.4189803133623E+17)
+float(1.4189803133622733E+17)
 --- testing: 9.2233720368548E+18 / -44 ---
-float(-2.096220917467E+17)
+float(-2.0962209174669946E+17)
 --- testing: 9.2233720368548E+18 / 2147483647 ---
 float(4294967298)
 --- testing: 9.2233720368548E+18 / 9223372036854775807 ---
@@ -281,11 +281,11 @@ int(9223372036854775807)
 --- testing: -9223372036854775807 / 7 ---
 int(-1317624576693539401)
 --- testing: -9223372036854775807 / 9 ---
-float(-1.0248191152061E+18)
+float(-1.0248191152060861E+18)
 --- testing: -9223372036854775807 / 65 ---
-float(-1.4189803133623E+17)
+float(-1.4189803133622733E+17)
 --- testing: -9223372036854775807 / -44 ---
-float(2.096220917467E+17)
+float(2.0962209174669946E+17)
 --- testing: -9223372036854775807 / 2147483647 ---
 float(-4294967298)
 --- testing: -9223372036854775807 / 9223372036854775807 ---
@@ -293,17 +293,17 @@ int(-1)
 --- testing: -9.2233720368548E+18 / 0 ---
 float(-INF)
 --- testing: -9.2233720368548E+18 / 1 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 / -1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 / 7 ---
-float(-1.3176245766935E+18)
+float(-1.3176245766935393E+18)
 --- testing: -9.2233720368548E+18 / 9 ---
-float(-1.0248191152061E+18)
+float(-1.0248191152060861E+18)
 --- testing: -9.2233720368548E+18 / 65 ---
-float(-1.4189803133623E+17)
+float(-1.4189803133622733E+17)
 --- testing: -9.2233720368548E+18 / -44 ---
-float(2.096220917467E+17)
+float(2.0962209174669946E+17)
 --- testing: -9.2233720368548E+18 / 2147483647 ---
 float(-4294967298)
 --- testing: -9.2233720368548E+18 / 9223372036854775807 ---
@@ -339,215 +339,215 @@ int(0)
 --- testing: 0 / -9.2233720368548E+18 ---
 float(-0)
 --- testing: 1 / 9223372036854775807 ---
-float(1.0842021724855E-19)
+float(1.0842021724855044E-19)
 --- testing: 1 / -9223372036854775808 ---
-float(-1.0842021724855E-19)
+float(-1.0842021724855044E-19)
 --- testing: 1 / 2147483647 ---
-float(4.6566128752458E-10)
+float(4.656612875245797E-10)
 --- testing: 1 / -2147483648 ---
-float(-4.6566128730774E-10)
+float(-4.656612873077393E-10)
 --- testing: 1 / 9223372034707292160 ---
-float(1.0842021727379E-19)
+float(1.08420217273794E-19)
 --- testing: 1 / -9223372034707292160 ---
-float(-1.0842021727379E-19)
+float(-1.08420217273794E-19)
 --- testing: 1 / 2147483648 ---
-float(4.6566128730774E-10)
+float(4.656612873077393E-10)
 --- testing: 1 / -2147483649 ---
-float(-4.656612870909E-10)
+float(-4.656612870908988E-10)
 --- testing: 1 / 4294967294 ---
-float(2.3283064376229E-10)
+float(2.3283064376228985E-10)
 --- testing: 1 / 4294967295 ---
-float(2.3283064370808E-10)
+float(2.3283064370807974E-10)
 --- testing: 1 / 4294967293 ---
-float(2.328306438165E-10)
+float(2.3283064381649995E-10)
 --- testing: 1 / 9223372036854775806 ---
-float(1.0842021724855E-19)
+float(1.0842021724855044E-19)
 --- testing: 1 / 9.2233720368548E+18 ---
-float(1.0842021724855E-19)
+float(1.0842021724855044E-19)
 --- testing: 1 / -9223372036854775807 ---
-float(-1.0842021724855E-19)
+float(-1.0842021724855044E-19)
 --- testing: 1 / -9.2233720368548E+18 ---
-float(-1.0842021724855E-19)
+float(-1.0842021724855044E-19)
 --- testing: -1 / 9223372036854775807 ---
-float(-1.0842021724855E-19)
+float(-1.0842021724855044E-19)
 --- testing: -1 / -9223372036854775808 ---
-float(1.0842021724855E-19)
+float(1.0842021724855044E-19)
 --- testing: -1 / 2147483647 ---
-float(-4.6566128752458E-10)
+float(-4.656612875245797E-10)
 --- testing: -1 / -2147483648 ---
-float(4.6566128730774E-10)
+float(4.656612873077393E-10)
 --- testing: -1 / 9223372034707292160 ---
-float(-1.0842021727379E-19)
+float(-1.08420217273794E-19)
 --- testing: -1 / -9223372034707292160 ---
-float(1.0842021727379E-19)
+float(1.08420217273794E-19)
 --- testing: -1 / 2147483648 ---
-float(-4.6566128730774E-10)
+float(-4.656612873077393E-10)
 --- testing: -1 / -2147483649 ---
-float(4.656612870909E-10)
+float(4.656612870908988E-10)
 --- testing: -1 / 4294967294 ---
-float(-2.3283064376229E-10)
+float(-2.3283064376228985E-10)
 --- testing: -1 / 4294967295 ---
-float(-2.3283064370808E-10)
+float(-2.3283064370807974E-10)
 --- testing: -1 / 4294967293 ---
-float(-2.328306438165E-10)
+float(-2.3283064381649995E-10)
 --- testing: -1 / 9223372036854775806 ---
-float(-1.0842021724855E-19)
+float(-1.0842021724855044E-19)
 --- testing: -1 / 9.2233720368548E+18 ---
-float(-1.0842021724855E-19)
+float(-1.0842021724855044E-19)
 --- testing: -1 / -9223372036854775807 ---
-float(1.0842021724855E-19)
+float(1.0842021724855044E-19)
 --- testing: -1 / -9.2233720368548E+18 ---
-float(1.0842021724855E-19)
+float(1.0842021724855044E-19)
 --- testing: 7 / 9223372036854775807 ---
-float(7.5894152073985E-19)
+float(7.589415207398531E-19)
 --- testing: 7 / -9223372036854775808 ---
-float(-7.5894152073985E-19)
+float(-7.589415207398531E-19)
 --- testing: 7 / 2147483647 ---
-float(3.2596290126721E-9)
+float(3.259629012672058E-9)
 --- testing: 7 / -2147483648 ---
-float(-3.2596290111542E-9)
+float(-3.259629011154175E-9)
 --- testing: 7 / 9223372034707292160 ---
-float(7.5894152091656E-19)
+float(7.589415209165579E-19)
 --- testing: 7 / -9223372034707292160 ---
-float(-7.5894152091656E-19)
+float(-7.589415209165579E-19)
 --- testing: 7 / 2147483648 ---
-float(3.2596290111542E-9)
+float(3.259629011154175E-9)
 --- testing: 7 / -2147483649 ---
-float(-3.2596290096363E-9)
+float(-3.2596290096362918E-9)
 --- testing: 7 / 4294967294 ---
-float(1.629814506336E-9)
+float(1.629814506336029E-9)
 --- testing: 7 / 4294967295 ---
-float(1.6298145059566E-9)
+float(1.6298145059565582E-9)
 --- testing: 7 / 4294967293 ---
-float(1.6298145067155E-9)
+float(1.6298145067154997E-9)
 --- testing: 7 / 9223372036854775806 ---
-float(7.5894152073985E-19)
+float(7.589415207398531E-19)
 --- testing: 7 / 9.2233720368548E+18 ---
-float(7.5894152073985E-19)
+float(7.589415207398531E-19)
 --- testing: 7 / -9223372036854775807 ---
-float(-7.5894152073985E-19)
+float(-7.589415207398531E-19)
 --- testing: 7 / -9.2233720368548E+18 ---
-float(-7.5894152073985E-19)
+float(-7.589415207398531E-19)
 --- testing: 9 / 9223372036854775807 ---
-float(9.7578195523695E-19)
+float(9.75781955236954E-19)
 --- testing: 9 / -9223372036854775808 ---
-float(-9.7578195523695E-19)
+float(-9.75781955236954E-19)
 --- testing: 9 / 2147483647 ---
-float(4.1909515877212E-9)
+float(4.190951587721217E-9)
 --- testing: 9 / -2147483648 ---
-float(-4.1909515857697E-9)
+float(-4.190951585769653E-9)
 --- testing: 9 / 9223372034707292160 ---
-float(9.7578195546415E-19)
+float(9.75781955464146E-19)
 --- testing: 9 / -9223372034707292160 ---
-float(-9.7578195546415E-19)
+float(-9.75781955464146E-19)
 --- testing: 9 / 2147483648 ---
-float(4.1909515857697E-9)
+float(4.190951585769653E-9)
 --- testing: 9 / -2147483649 ---
-float(-4.1909515838181E-9)
+float(-4.190951583818089E-9)
 --- testing: 9 / 4294967294 ---
-float(2.0954757938606E-9)
+float(2.0954757938606086E-9)
 --- testing: 9 / 4294967295 ---
-float(2.0954757933727E-9)
+float(2.0954757933727176E-9)
 --- testing: 9 / 4294967293 ---
-float(2.0954757943485E-9)
+float(2.0954757943484996E-9)
 --- testing: 9 / 9223372036854775806 ---
-float(9.7578195523695E-19)
+float(9.75781955236954E-19)
 --- testing: 9 / 9.2233720368548E+18 ---
-float(9.7578195523695E-19)
+float(9.75781955236954E-19)
 --- testing: 9 / -9223372036854775807 ---
-float(-9.7578195523695E-19)
+float(-9.75781955236954E-19)
 --- testing: 9 / -9.2233720368548E+18 ---
-float(-9.7578195523695E-19)
+float(-9.75781955236954E-19)
 --- testing: 65 / 9223372036854775807 ---
-float(7.0473141211558E-18)
+float(7.047314121155779E-18)
 --- testing: 65 / -9223372036854775808 ---
-float(-7.0473141211558E-18)
+float(-7.047314121155779E-18)
 --- testing: 65 / 2147483647 ---
-float(3.0267983689098E-8)
+float(3.026798368909768E-8)
 --- testing: 65 / -2147483648 ---
-float(-3.0267983675003E-8)
+float(-3.026798367500305E-8)
 --- testing: 65 / 9223372034707292160 ---
-float(7.0473141227966E-18)
+float(7.04731412279661E-18)
 --- testing: 65 / -9223372034707292160 ---
-float(-7.0473141227966E-18)
+float(-7.04731412279661E-18)
 --- testing: 65 / 2147483648 ---
-float(3.0267983675003E-8)
+float(3.026798367500305E-8)
 --- testing: 65 / -2147483649 ---
-float(-3.0267983660908E-8)
+float(-3.0267983660908424E-8)
 --- testing: 65 / 4294967294 ---
-float(1.5133991844549E-8)
+float(1.513399184454884E-8)
 --- testing: 65 / 4294967295 ---
-float(1.5133991841025E-8)
+float(1.5133991841025183E-8)
 --- testing: 65 / 4294967293 ---
-float(1.5133991848072E-8)
+float(1.5133991848072497E-8)
 --- testing: 65 / 9223372036854775806 ---
-float(7.0473141211558E-18)
+float(7.047314121155779E-18)
 --- testing: 65 / 9.2233720368548E+18 ---
-float(7.0473141211558E-18)
+float(7.047314121155779E-18)
 --- testing: 65 / -9223372036854775807 ---
-float(-7.0473141211558E-18)
+float(-7.047314121155779E-18)
 --- testing: 65 / -9.2233720368548E+18 ---
-float(-7.0473141211558E-18)
+float(-7.047314121155779E-18)
 --- testing: -44 / 9223372036854775807 ---
-float(-4.7704895589362E-18)
+float(-4.7704895589362195E-18)
 --- testing: -44 / -9223372036854775808 ---
-float(4.7704895589362E-18)
+float(4.7704895589362195E-18)
 --- testing: -44 / 2147483647 ---
-float(-2.0489096651082E-8)
+float(-2.0489096651081506E-8)
 --- testing: -44 / -2147483648 ---
-float(2.0489096641541E-8)
+float(2.0489096641540527E-8)
 --- testing: -44 / 9223372034707292160 ---
-float(-4.7704895600469E-18)
+float(-4.770489560046936E-18)
 --- testing: -44 / -9223372034707292160 ---
-float(4.7704895600469E-18)
+float(4.770489560046936E-18)
 --- testing: -44 / 2147483648 ---
-float(-2.0489096641541E-8)
+float(-2.0489096641540527E-8)
 --- testing: -44 / -2147483649 ---
-float(2.0489096632E-8)
+float(2.0489096631999548E-8)
 --- testing: -44 / 4294967294 ---
-float(-1.0244548325541E-8)
+float(-1.0244548325540753E-8)
 --- testing: -44 / 4294967295 ---
-float(-1.0244548323156E-8)
+float(-1.0244548323155508E-8)
 --- testing: -44 / 4294967293 ---
-float(-1.0244548327926E-8)
+float(-1.0244548327925998E-8)
 --- testing: -44 / 9223372036854775806 ---
-float(-4.7704895589362E-18)
+float(-4.7704895589362195E-18)
 --- testing: -44 / 9.2233720368548E+18 ---
-float(-4.7704895589362E-18)
+float(-4.7704895589362195E-18)
 --- testing: -44 / -9223372036854775807 ---
-float(4.7704895589362E-18)
+float(4.7704895589362195E-18)
 --- testing: -44 / -9.2233720368548E+18 ---
-float(4.7704895589362E-18)
+float(4.7704895589362195E-18)
 --- testing: 2147483647 / 9223372036854775807 ---
-float(2.3283064354545E-10)
+float(2.328306435454494E-10)
 --- testing: 2147483647 / -9223372036854775808 ---
-float(-2.3283064354545E-10)
+float(-2.328306435454494E-10)
 --- testing: 2147483647 / 2147483647 ---
 int(1)
 --- testing: 2147483647 / -2147483648 ---
-float(-0.99999999953434)
+float(-0.9999999995343387)
 --- testing: 2147483647 / 9223372034707292160 ---
-float(2.3283064359966E-10)
+float(2.3283064359965952E-10)
 --- testing: 2147483647 / -9223372034707292160 ---
-float(-2.3283064359966E-10)
+float(-2.3283064359965952E-10)
 --- testing: 2147483647 / 2147483648 ---
-float(0.99999999953434)
+float(0.9999999995343387)
 --- testing: 2147483647 / -2147483649 ---
-float(-0.99999999906868)
+float(-0.9999999990686774)
 --- testing: 2147483647 / 4294967294 ---
 float(0.5)
 --- testing: 2147483647 / 4294967295 ---
-float(0.49999999988358)
+float(0.4999999998835847)
 --- testing: 2147483647 / 4294967293 ---
-float(0.50000000011642)
+float(0.5000000001164153)
 --- testing: 2147483647 / 9223372036854775806 ---
-float(2.3283064354545E-10)
+float(2.328306435454494E-10)
 --- testing: 2147483647 / 9.2233720368548E+18 ---
-float(2.3283064354545E-10)
+float(2.328306435454494E-10)
 --- testing: 2147483647 / -9223372036854775807 ---
-float(-2.3283064354545E-10)
+float(-2.328306435454494E-10)
 --- testing: 2147483647 / -9.2233720368548E+18 ---
-float(-2.3283064354545E-10)
+float(-2.328306435454494E-10)
 --- testing: 9223372036854775807 / 9223372036854775807 ---
 int(1)
 --- testing: 9223372036854775807 / -9223372036854775808 ---
@@ -557,9 +557,9 @@ float(4294967298)
 --- testing: 9223372036854775807 / -2147483648 ---
 float(-4294967296)
 --- testing: 9223372036854775807 / 9223372034707292160 ---
-float(1.0000000002328)
+float(1.0000000002328306)
 --- testing: 9223372036854775807 / -9223372034707292160 ---
-float(-1.0000000002328)
+float(-1.0000000002328306)
 --- testing: 9223372036854775807 / 2147483648 ---
 float(4294967296)
 --- testing: 9223372036854775807 / -2147483649 ---
index 3db09e4e95c1dbeef1cbcdc59abff90fffce925a..b3a11591eddef9853658fd8eba0b54a95109f053 100644 (file)
@@ -53,111 +53,111 @@ float(INF)
 --- testing: '65' / '65' ---
 int(1)
 --- testing: '65' / '-44' ---
-float(-1.4772727272727)
+float(-1.4772727272727273)
 --- testing: '65' / '1.2' ---
-float(54.166666666667)
+float(54.16666666666667)
 --- testing: '65' / '-7.7' ---
-float(-8.4415584415584)
+float(-8.441558441558442)
 --- testing: '65' / 'abc' ---
 float(INF)
 --- testing: '65' / '123abc' ---
-float(0.52845528455285)
+float(0.5284552845528455)
 --- testing: '65' / '123e5' ---
-float(5.2845528455285E-6)
+float(5.2845528455284555E-6)
 --- testing: '65' / '123e5xyz' ---
-float(5.2845528455285E-6)
+float(5.2845528455284555E-6)
 --- testing: '65' / ' 123abc' ---
-float(0.52845528455285)
+float(0.5284552845528455)
 --- testing: '65' / '123 abc' ---
-float(0.52845528455285)
+float(0.5284552845528455)
 --- testing: '65' / '123abc ' ---
-float(0.52845528455285)
+float(0.5284552845528455)
 --- testing: '65' / '3.4a' ---
-float(19.117647058824)
+float(19.11764705882353)
 --- testing: '65' / 'a5.9' ---
 float(INF)
 --- testing: '-44' / '0' ---
 float(-INF)
 --- testing: '-44' / '65' ---
-float(-0.67692307692308)
+float(-0.676923076923077)
 --- testing: '-44' / '-44' ---
 int(1)
 --- testing: '-44' / '1.2' ---
-float(-36.666666666667)
+float(-36.66666666666667)
 --- testing: '-44' / '-7.7' ---
-float(5.7142857142857)
+float(5.714285714285714)
 --- testing: '-44' / 'abc' ---
 float(-INF)
 --- testing: '-44' / '123abc' ---
-float(-0.35772357723577)
+float(-0.35772357723577236)
 --- testing: '-44' / '123e5' ---
-float(-3.5772357723577E-6)
+float(-3.5772357723577236E-6)
 --- testing: '-44' / '123e5xyz' ---
-float(-3.5772357723577E-6)
+float(-3.5772357723577236E-6)
 --- testing: '-44' / ' 123abc' ---
-float(-0.35772357723577)
+float(-0.35772357723577236)
 --- testing: '-44' / '123 abc' ---
-float(-0.35772357723577)
+float(-0.35772357723577236)
 --- testing: '-44' / '123abc ' ---
-float(-0.35772357723577)
+float(-0.35772357723577236)
 --- testing: '-44' / '3.4a' ---
-float(-12.941176470588)
+float(-12.941176470588236)
 --- testing: '-44' / 'a5.9' ---
 float(-INF)
 --- testing: '1.2' / '0' ---
 float(INF)
 --- testing: '1.2' / '65' ---
-float(0.018461538461538)
+float(0.01846153846153846)
 --- testing: '1.2' / '-44' ---
-float(-0.027272727272727)
+float(-0.02727272727272727)
 --- testing: '1.2' / '1.2' ---
 float(1)
 --- testing: '1.2' / '-7.7' ---
-float(-0.15584415584416)
+float(-0.15584415584415584)
 --- testing: '1.2' / 'abc' ---
 float(INF)
 --- testing: '1.2' / '123abc' ---
-float(0.0097560975609756)
+float(0.00975609756097561)
 --- testing: '1.2' / '123e5' ---
-float(9.7560975609756E-8)
+float(9.75609756097561E-8)
 --- testing: '1.2' / '123e5xyz' ---
-float(9.7560975609756E-8)
+float(9.75609756097561E-8)
 --- testing: '1.2' / ' 123abc' ---
-float(0.0097560975609756)
+float(0.00975609756097561)
 --- testing: '1.2' / '123 abc' ---
-float(0.0097560975609756)
+float(0.00975609756097561)
 --- testing: '1.2' / '123abc ' ---
-float(0.0097560975609756)
+float(0.00975609756097561)
 --- testing: '1.2' / '3.4a' ---
-float(0.35294117647059)
+float(0.35294117647058826)
 --- testing: '1.2' / 'a5.9' ---
 float(INF)
 --- testing: '-7.7' / '0' ---
 float(-INF)
 --- testing: '-7.7' / '65' ---
-float(-0.11846153846154)
+float(-0.11846153846153847)
 --- testing: '-7.7' / '-44' ---
-float(0.175)
+float(0.17500000000000002)
 --- testing: '-7.7' / '1.2' ---
-float(-6.4166666666667)
+float(-6.416666666666667)
 --- testing: '-7.7' / '-7.7' ---
 float(1)
 --- testing: '-7.7' / 'abc' ---
 float(-INF)
 --- testing: '-7.7' / '123abc' ---
-float(-0.06260162601626)
+float(-0.06260162601626017)
 --- testing: '-7.7' / '123e5' ---
-float(-6.260162601626E-7)
+float(-6.260162601626017E-7)
 --- testing: '-7.7' / '123e5xyz' ---
-float(-6.260162601626E-7)
+float(-6.260162601626017E-7)
 --- testing: '-7.7' / ' 123abc' ---
-float(-0.06260162601626)
+float(-0.06260162601626017)
 --- testing: '-7.7' / '123 abc' ---
-float(-0.06260162601626)
+float(-0.06260162601626017)
 --- testing: '-7.7' / '123abc ' ---
-float(-0.06260162601626)
+float(-0.06260162601626017)
 --- testing: '-7.7' / '3.4a' ---
-float(-2.2647058823529)
+float(-2.264705882352941)
 --- testing: '-7.7' / 'a5.9' ---
 float(-INF)
 --- testing: 'abc' / '0' ---
@@ -191,13 +191,13 @@ float(NAN)
 --- testing: '123abc' / '0' ---
 float(INF)
 --- testing: '123abc' / '65' ---
-float(1.8923076923077)
+float(1.8923076923076922)
 --- testing: '123abc' / '-44' ---
-float(-2.7954545454545)
+float(-2.7954545454545454)
 --- testing: '123abc' / '1.2' ---
 float(102.5)
 --- testing: '123abc' / '-7.7' ---
-float(-15.974025974026)
+float(-15.974025974025974)
 --- testing: '123abc' / 'abc' ---
 float(INF)
 --- testing: '123abc' / '123abc' ---
@@ -213,19 +213,19 @@ int(1)
 --- testing: '123abc' / '123abc ' ---
 int(1)
 --- testing: '123abc' / '3.4a' ---
-float(36.176470588235)
+float(36.1764705882353)
 --- testing: '123abc' / 'a5.9' ---
 float(INF)
 --- testing: '123e5' / '0' ---
 float(INF)
 --- testing: '123e5' / '65' ---
-float(189230.76923077)
+float(189230.76923076922)
 --- testing: '123e5' / '-44' ---
-float(-279545.45454545)
+float(-279545.45454545453)
 --- testing: '123e5' / '1.2' ---
 float(10250000)
 --- testing: '123e5' / '-7.7' ---
-float(-1597402.5974026)
+float(-1597402.5974025973)
 --- testing: '123e5' / 'abc' ---
 float(INF)
 --- testing: '123e5' / '123abc' ---
@@ -241,19 +241,19 @@ float(100000)
 --- testing: '123e5' / '123abc ' ---
 float(100000)
 --- testing: '123e5' / '3.4a' ---
-float(3617647.0588235)
+float(3617647.0588235296)
 --- testing: '123e5' / 'a5.9' ---
 float(INF)
 --- testing: '123e5xyz' / '0' ---
 float(INF)
 --- testing: '123e5xyz' / '65' ---
-float(189230.76923077)
+float(189230.76923076922)
 --- testing: '123e5xyz' / '-44' ---
-float(-279545.45454545)
+float(-279545.45454545453)
 --- testing: '123e5xyz' / '1.2' ---
 float(10250000)
 --- testing: '123e5xyz' / '-7.7' ---
-float(-1597402.5974026)
+float(-1597402.5974025973)
 --- testing: '123e5xyz' / 'abc' ---
 float(INF)
 --- testing: '123e5xyz' / '123abc' ---
@@ -269,19 +269,19 @@ float(100000)
 --- testing: '123e5xyz' / '123abc ' ---
 float(100000)
 --- testing: '123e5xyz' / '3.4a' ---
-float(3617647.0588235)
+float(3617647.0588235296)
 --- testing: '123e5xyz' / 'a5.9' ---
 float(INF)
 --- testing: ' 123abc' / '0' ---
 float(INF)
 --- testing: ' 123abc' / '65' ---
-float(1.8923076923077)
+float(1.8923076923076922)
 --- testing: ' 123abc' / '-44' ---
-float(-2.7954545454545)
+float(-2.7954545454545454)
 --- testing: ' 123abc' / '1.2' ---
 float(102.5)
 --- testing: ' 123abc' / '-7.7' ---
-float(-15.974025974026)
+float(-15.974025974025974)
 --- testing: ' 123abc' / 'abc' ---
 float(INF)
 --- testing: ' 123abc' / '123abc' ---
@@ -297,19 +297,19 @@ int(1)
 --- testing: ' 123abc' / '123abc ' ---
 int(1)
 --- testing: ' 123abc' / '3.4a' ---
-float(36.176470588235)
+float(36.1764705882353)
 --- testing: ' 123abc' / 'a5.9' ---
 float(INF)
 --- testing: '123 abc' / '0' ---
 float(INF)
 --- testing: '123 abc' / '65' ---
-float(1.8923076923077)
+float(1.8923076923076922)
 --- testing: '123 abc' / '-44' ---
-float(-2.7954545454545)
+float(-2.7954545454545454)
 --- testing: '123 abc' / '1.2' ---
 float(102.5)
 --- testing: '123 abc' / '-7.7' ---
-float(-15.974025974026)
+float(-15.974025974025974)
 --- testing: '123 abc' / 'abc' ---
 float(INF)
 --- testing: '123 abc' / '123abc' ---
@@ -325,19 +325,19 @@ int(1)
 --- testing: '123 abc' / '123abc ' ---
 int(1)
 --- testing: '123 abc' / '3.4a' ---
-float(36.176470588235)
+float(36.1764705882353)
 --- testing: '123 abc' / 'a5.9' ---
 float(INF)
 --- testing: '123abc ' / '0' ---
 float(INF)
 --- testing: '123abc ' / '65' ---
-float(1.8923076923077)
+float(1.8923076923076922)
 --- testing: '123abc ' / '-44' ---
-float(-2.7954545454545)
+float(-2.7954545454545454)
 --- testing: '123abc ' / '1.2' ---
 float(102.5)
 --- testing: '123abc ' / '-7.7' ---
-float(-15.974025974026)
+float(-15.974025974025974)
 --- testing: '123abc ' / 'abc' ---
 float(INF)
 --- testing: '123abc ' / '123abc' ---
@@ -353,33 +353,33 @@ int(1)
 --- testing: '123abc ' / '123abc ' ---
 int(1)
 --- testing: '123abc ' / '3.4a' ---
-float(36.176470588235)
+float(36.1764705882353)
 --- testing: '123abc ' / 'a5.9' ---
 float(INF)
 --- testing: '3.4a' / '0' ---
 float(INF)
 --- testing: '3.4a' / '65' ---
-float(0.052307692307692)
+float(0.052307692307692305)
 --- testing: '3.4a' / '-44' ---
-float(-0.077272727272727)
+float(-0.07727272727272727)
 --- testing: '3.4a' / '1.2' ---
-float(2.8333333333333)
+float(2.8333333333333335)
 --- testing: '3.4a' / '-7.7' ---
-float(-0.44155844155844)
+float(-0.44155844155844154)
 --- testing: '3.4a' / 'abc' ---
 float(INF)
 --- testing: '3.4a' / '123abc' ---
-float(0.027642276422764)
+float(0.027642276422764227)
 --- testing: '3.4a' / '123e5' ---
-float(2.7642276422764E-7)
+float(2.764227642276423E-7)
 --- testing: '3.4a' / '123e5xyz' ---
-float(2.7642276422764E-7)
+float(2.764227642276423E-7)
 --- testing: '3.4a' / ' 123abc' ---
-float(0.027642276422764)
+float(0.027642276422764227)
 --- testing: '3.4a' / '123 abc' ---
-float(0.027642276422764)
+float(0.027642276422764227)
 --- testing: '3.4a' / '123abc ' ---
-float(0.027642276422764)
+float(0.027642276422764227)
 --- testing: '3.4a' / '3.4a' ---
 float(1)
 --- testing: '3.4a' / 'a5.9' ---
index 2fbe530bdc8cccc5b55e6a5a0b17eeed6f2fab6a..d57ec28ef12fb295becd973e5189c48b7a7005fa 100644 (file)
@@ -45,35 +45,35 @@ int(9223372036854775807)
 --- testing: 9223372036854775807 * -1 ---
 int(-9223372036854775807)
 --- testing: 9223372036854775807 * 7 ---
-float(6.4563604257983E+19)
+float(6.456360425798343E+19)
 --- testing: 9223372036854775807 * 9 ---
-float(8.3010348331693E+19)
+float(8.301034833169298E+19)
 --- testing: 9223372036854775807 * 65 ---
-float(5.9951918239556E+20)
+float(5.995191823955604E+20)
 --- testing: 9223372036854775807 * -44 ---
-float(-4.0582836962161E+20)
+float(-4.0582836962161014E+20)
 --- testing: 9223372036854775807 * 2147483647 ---
-float(1.9807040619343E+28)
+float(1.9807040619342712E+28)
 --- testing: 9223372036854775807 * 9223372036854775807 ---
-float(8.5070591730235E+37)
+float(8.507059173023462E+37)
 --- testing: -9223372036854775808 * 0 ---
 int(0)
 --- testing: -9223372036854775808 * 1 ---
 int(-9223372036854775808)
 --- testing: -9223372036854775808 * -1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808 * 7 ---
-float(-6.4563604257983E+19)
+float(-6.456360425798343E+19)
 --- testing: -9223372036854775808 * 9 ---
-float(-8.3010348331693E+19)
+float(-8.301034833169298E+19)
 --- testing: -9223372036854775808 * 65 ---
-float(-5.9951918239556E+20)
+float(-5.995191823955604E+20)
 --- testing: -9223372036854775808 * -44 ---
-float(4.0582836962161E+20)
+float(4.0582836962161014E+20)
 --- testing: -9223372036854775808 * 2147483647 ---
-float(-1.9807040619343E+28)
+float(-1.9807040619342712E+28)
 --- testing: -9223372036854775808 * 9223372036854775807 ---
-float(-8.5070591730235E+37)
+float(-8.507059173023462E+37)
 --- testing: 2147483647 * 0 ---
 int(0)
 --- testing: 2147483647 * 1 ---
@@ -91,7 +91,7 @@ int(-94489280468)
 --- testing: 2147483647 * 2147483647 ---
 int(4611686014132420609)
 --- testing: 2147483647 * 9223372036854775807 ---
-float(1.9807040619343E+28)
+float(1.9807040619342712E+28)
 --- testing: -2147483648 * 0 ---
 int(0)
 --- testing: -2147483648 * 1 ---
@@ -109,7 +109,7 @@ int(94489280512)
 --- testing: -2147483648 * 2147483647 ---
 int(-4611686016279904256)
 --- testing: -2147483648 * 9223372036854775807 ---
-float(-1.9807040628566E+28)
+float(-1.9807040628566084E+28)
 --- testing: 9223372034707292160 * 0 ---
 int(0)
 --- testing: 9223372034707292160 * 1 ---
@@ -117,17 +117,17 @@ int(9223372034707292160)
 --- testing: 9223372034707292160 * -1 ---
 int(-9223372034707292160)
 --- testing: 9223372034707292160 * 7 ---
-float(6.4563604242951E+19)
+float(6.4563604242951045E+19)
 --- testing: 9223372034707292160 * 9 ---
-float(8.3010348312366E+19)
+float(8.301034831236563E+19)
 --- testing: 9223372034707292160 * 65 ---
-float(5.9951918225597E+20)
+float(5.99519182255974E+20)
 --- testing: 9223372034707292160 * -44 ---
-float(-4.0582836952712E+20)
+float(-4.0582836952712086E+20)
 --- testing: 9223372034707292160 * 2147483647 ---
-float(1.9807040614731E+28)
+float(1.9807040614731026E+28)
 --- testing: 9223372034707292160 * 9223372036854775807 ---
-float(8.5070591710428E+37)
+float(8.5070591710427575E+37)
 --- testing: -9223372034707292160 * 0 ---
 int(0)
 --- testing: -9223372034707292160 * 1 ---
@@ -135,17 +135,17 @@ int(-9223372034707292160)
 --- testing: -9223372034707292160 * -1 ---
 int(9223372034707292160)
 --- testing: -9223372034707292160 * 7 ---
-float(-6.4563604242951E+19)
+float(-6.4563604242951045E+19)
 --- testing: -9223372034707292160 * 9 ---
-float(-8.3010348312366E+19)
+float(-8.301034831236563E+19)
 --- testing: -9223372034707292160 * 65 ---
-float(-5.9951918225597E+20)
+float(-5.99519182255974E+20)
 --- testing: -9223372034707292160 * -44 ---
-float(4.0582836952712E+20)
+float(4.0582836952712086E+20)
 --- testing: -9223372034707292160 * 2147483647 ---
-float(-1.9807040614731E+28)
+float(-1.9807040614731026E+28)
 --- testing: -9223372034707292160 * 9223372036854775807 ---
-float(-8.5070591710428E+37)
+float(-8.5070591710427575E+37)
 --- testing: 2147483648 * 0 ---
 int(0)
 --- testing: 2147483648 * 1 ---
@@ -163,7 +163,7 @@ int(-94489280512)
 --- testing: 2147483648 * 2147483647 ---
 int(4611686016279904256)
 --- testing: 2147483648 * 9223372036854775807 ---
-float(1.9807040628566E+28)
+float(1.9807040628566084E+28)
 --- testing: -2147483649 * 0 ---
 int(0)
 --- testing: -2147483649 * 1 ---
@@ -181,7 +181,7 @@ int(94489280556)
 --- testing: -2147483649 * 2147483647 ---
 int(-4611686018427387903)
 --- testing: -2147483649 * 9223372036854775807 ---
-float(-1.9807040637789E+28)
+float(-1.9807040637789456E+28)
 --- testing: 4294967294 * 0 ---
 int(0)
 --- testing: 4294967294 * 1 ---
@@ -199,7 +199,7 @@ int(-188978560936)
 --- testing: 4294967294 * 2147483647 ---
 int(9223372028264841218)
 --- testing: 4294967294 * 9223372036854775807 ---
-float(3.9614081238685E+28)
+float(3.9614081238685425E+28)
 --- testing: 4294967295 * 0 ---
 int(0)
 --- testing: 4294967295 * 1 ---
@@ -217,7 +217,7 @@ int(-188978560980)
 --- testing: 4294967295 * 2147483647 ---
 int(9223372030412324865)
 --- testing: 4294967295 * 9223372036854775807 ---
-float(3.9614081247909E+28)
+float(3.9614081247908797E+28)
 --- testing: 4294967293 * 0 ---
 int(0)
 --- testing: 4294967293 * 1 ---
@@ -235,7 +235,7 @@ int(-188978560892)
 --- testing: 4294967293 * 2147483647 ---
 int(9223372026117357571)
 --- testing: 4294967293 * 9223372036854775807 ---
-float(3.9614081229462E+28)
+float(3.9614081229462053E+28)
 --- testing: 9223372036854775806 * 0 ---
 int(0)
 --- testing: 9223372036854775806 * 1 ---
@@ -243,35 +243,35 @@ int(9223372036854775806)
 --- testing: 9223372036854775806 * -1 ---
 int(-9223372036854775806)
 --- testing: 9223372036854775806 * 7 ---
-float(6.4563604257983E+19)
+float(6.456360425798343E+19)
 --- testing: 9223372036854775806 * 9 ---
-float(8.3010348331693E+19)
+float(8.301034833169298E+19)
 --- testing: 9223372036854775806 * 65 ---
-float(5.9951918239556E+20)
+float(5.995191823955604E+20)
 --- testing: 9223372036854775806 * -44 ---
-float(-4.0582836962161E+20)
+float(-4.0582836962161014E+20)
 --- testing: 9223372036854775806 * 2147483647 ---
-float(1.9807040619343E+28)
+float(1.9807040619342712E+28)
 --- testing: 9223372036854775806 * 9223372036854775807 ---
-float(8.5070591730235E+37)
+float(8.507059173023462E+37)
 --- testing: 9.2233720368548E+18 * 0 ---
 float(0)
 --- testing: 9.2233720368548E+18 * 1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 * -1 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 * 7 ---
-float(6.4563604257983E+19)
+float(6.456360425798343E+19)
 --- testing: 9.2233720368548E+18 * 9 ---
-float(8.3010348331693E+19)
+float(8.301034833169298E+19)
 --- testing: 9.2233720368548E+18 * 65 ---
-float(5.9951918239556E+20)
+float(5.995191823955604E+20)
 --- testing: 9.2233720368548E+18 * -44 ---
-float(-4.0582836962161E+20)
+float(-4.0582836962161014E+20)
 --- testing: 9.2233720368548E+18 * 2147483647 ---
-float(1.9807040619343E+28)
+float(1.9807040619342712E+28)
 --- testing: 9.2233720368548E+18 * 9223372036854775807 ---
-float(8.5070591730235E+37)
+float(8.507059173023462E+37)
 --- testing: -9223372036854775807 * 0 ---
 int(0)
 --- testing: -9223372036854775807 * 1 ---
@@ -279,35 +279,35 @@ int(-9223372036854775807)
 --- testing: -9223372036854775807 * -1 ---
 int(9223372036854775807)
 --- testing: -9223372036854775807 * 7 ---
-float(-6.4563604257983E+19)
+float(-6.456360425798343E+19)
 --- testing: -9223372036854775807 * 9 ---
-float(-8.3010348331693E+19)
+float(-8.301034833169298E+19)
 --- testing: -9223372036854775807 * 65 ---
-float(-5.9951918239556E+20)
+float(-5.995191823955604E+20)
 --- testing: -9223372036854775807 * -44 ---
-float(4.0582836962161E+20)
+float(4.0582836962161014E+20)
 --- testing: -9223372036854775807 * 2147483647 ---
-float(-1.9807040619343E+28)
+float(-1.9807040619342712E+28)
 --- testing: -9223372036854775807 * 9223372036854775807 ---
-float(-8.5070591730235E+37)
+float(-8.507059173023462E+37)
 --- testing: -9.2233720368548E+18 * 0 ---
 float(-0)
 --- testing: -9.2233720368548E+18 * 1 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 * -1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 * 7 ---
-float(-6.4563604257983E+19)
+float(-6.456360425798343E+19)
 --- testing: -9.2233720368548E+18 * 9 ---
-float(-8.3010348331693E+19)
+float(-8.301034833169298E+19)
 --- testing: -9.2233720368548E+18 * 65 ---
-float(-5.9951918239556E+20)
+float(-5.995191823955604E+20)
 --- testing: -9.2233720368548E+18 * -44 ---
-float(4.0582836962161E+20)
+float(4.0582836962161014E+20)
 --- testing: -9.2233720368548E+18 * 2147483647 ---
-float(-1.9807040619343E+28)
+float(-1.9807040619342712E+28)
 --- testing: -9.2233720368548E+18 * 9223372036854775807 ---
-float(-8.5070591730235E+37)
+float(-8.507059173023462E+37)
 --- testing: 0 * 9223372036854775807 ---
 int(0)
 --- testing: 0 * -9223372036854775808 ---
@@ -363,15 +363,15 @@ int(4294967293)
 --- testing: 1 * 9223372036854775806 ---
 int(9223372036854775806)
 --- testing: 1 * 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 1 * -9223372036854775807 ---
 int(-9223372036854775807)
 --- testing: 1 * -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -1 * 9223372036854775807 ---
 int(-9223372036854775807)
 --- testing: -1 * -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -1 * 2147483647 ---
 int(-2147483647)
 --- testing: -1 * -2147483648 ---
@@ -393,23 +393,23 @@ int(-4294967293)
 --- testing: -1 * 9223372036854775806 ---
 int(-9223372036854775806)
 --- testing: -1 * 9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -1 * -9223372036854775807 ---
 int(9223372036854775807)
 --- testing: -1 * -9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 7 * 9223372036854775807 ---
-float(6.4563604257983E+19)
+float(6.456360425798343E+19)
 --- testing: 7 * -9223372036854775808 ---
-float(-6.4563604257983E+19)
+float(-6.456360425798343E+19)
 --- testing: 7 * 2147483647 ---
 int(15032385529)
 --- testing: 7 * -2147483648 ---
 int(-15032385536)
 --- testing: 7 * 9223372034707292160 ---
-float(6.4563604242951E+19)
+float(6.4563604242951045E+19)
 --- testing: 7 * -9223372034707292160 ---
-float(-6.4563604242951E+19)
+float(-6.4563604242951045E+19)
 --- testing: 7 * 2147483648 ---
 int(15032385536)
 --- testing: 7 * -2147483649 ---
@@ -421,25 +421,25 @@ int(30064771065)
 --- testing: 7 * 4294967293 ---
 int(30064771051)
 --- testing: 7 * 9223372036854775806 ---
-float(6.4563604257983E+19)
+float(6.456360425798343E+19)
 --- testing: 7 * 9.2233720368548E+18 ---
-float(6.4563604257983E+19)
+float(6.456360425798343E+19)
 --- testing: 7 * -9223372036854775807 ---
-float(-6.4563604257983E+19)
+float(-6.456360425798343E+19)
 --- testing: 7 * -9.2233720368548E+18 ---
-float(-6.4563604257983E+19)
+float(-6.456360425798343E+19)
 --- testing: 9 * 9223372036854775807 ---
-float(8.3010348331693E+19)
+float(8.301034833169298E+19)
 --- testing: 9 * -9223372036854775808 ---
-float(-8.3010348331693E+19)
+float(-8.301034833169298E+19)
 --- testing: 9 * 2147483647 ---
 int(19327352823)
 --- testing: 9 * -2147483648 ---
 int(-19327352832)
 --- testing: 9 * 9223372034707292160 ---
-float(8.3010348312366E+19)
+float(8.301034831236563E+19)
 --- testing: 9 * -9223372034707292160 ---
-float(-8.3010348312366E+19)
+float(-8.301034831236563E+19)
 --- testing: 9 * 2147483648 ---
 int(19327352832)
 --- testing: 9 * -2147483649 ---
@@ -451,25 +451,25 @@ int(38654705655)
 --- testing: 9 * 4294967293 ---
 int(38654705637)
 --- testing: 9 * 9223372036854775806 ---
-float(8.3010348331693E+19)
+float(8.301034833169298E+19)
 --- testing: 9 * 9.2233720368548E+18 ---
-float(8.3010348331693E+19)
+float(8.301034833169298E+19)
 --- testing: 9 * -9223372036854775807 ---
-float(-8.3010348331693E+19)
+float(-8.301034833169298E+19)
 --- testing: 9 * -9.2233720368548E+18 ---
-float(-8.3010348331693E+19)
+float(-8.301034833169298E+19)
 --- testing: 65 * 9223372036854775807 ---
-float(5.9951918239556E+20)
+float(5.995191823955604E+20)
 --- testing: 65 * -9223372036854775808 ---
-float(-5.9951918239556E+20)
+float(-5.995191823955604E+20)
 --- testing: 65 * 2147483647 ---
 int(139586437055)
 --- testing: 65 * -2147483648 ---
 int(-139586437120)
 --- testing: 65 * 9223372034707292160 ---
-float(5.9951918225597E+20)
+float(5.99519182255974E+20)
 --- testing: 65 * -9223372034707292160 ---
-float(-5.9951918225597E+20)
+float(-5.99519182255974E+20)
 --- testing: 65 * 2147483648 ---
 int(139586437120)
 --- testing: 65 * -2147483649 ---
@@ -481,25 +481,25 @@ int(279172874175)
 --- testing: 65 * 4294967293 ---
 int(279172874045)
 --- testing: 65 * 9223372036854775806 ---
-float(5.9951918239556E+20)
+float(5.995191823955604E+20)
 --- testing: 65 * 9.2233720368548E+18 ---
-float(5.9951918239556E+20)
+float(5.995191823955604E+20)
 --- testing: 65 * -9223372036854775807 ---
-float(-5.9951918239556E+20)
+float(-5.995191823955604E+20)
 --- testing: 65 * -9.2233720368548E+18 ---
-float(-5.9951918239556E+20)
+float(-5.995191823955604E+20)
 --- testing: -44 * 9223372036854775807 ---
-float(-4.0582836962161E+20)
+float(-4.0582836962161014E+20)
 --- testing: -44 * -9223372036854775808 ---
-float(4.0582836962161E+20)
+float(4.0582836962161014E+20)
 --- testing: -44 * 2147483647 ---
 int(-94489280468)
 --- testing: -44 * -2147483648 ---
 int(94489280512)
 --- testing: -44 * 9223372034707292160 ---
-float(-4.0582836952712E+20)
+float(-4.0582836952712086E+20)
 --- testing: -44 * -9223372034707292160 ---
-float(4.0582836952712E+20)
+float(4.0582836952712086E+20)
 --- testing: -44 * 2147483648 ---
 int(-94489280512)
 --- testing: -44 * -2147483649 ---
@@ -511,25 +511,25 @@ int(-188978560980)
 --- testing: -44 * 4294967293 ---
 int(-188978560892)
 --- testing: -44 * 9223372036854775806 ---
-float(-4.0582836962161E+20)
+float(-4.0582836962161014E+20)
 --- testing: -44 * 9.2233720368548E+18 ---
-float(-4.0582836962161E+20)
+float(-4.0582836962161014E+20)
 --- testing: -44 * -9223372036854775807 ---
-float(4.0582836962161E+20)
+float(4.0582836962161014E+20)
 --- testing: -44 * -9.2233720368548E+18 ---
-float(4.0582836962161E+20)
+float(4.0582836962161014E+20)
 --- testing: 2147483647 * 9223372036854775807 ---
-float(1.9807040619343E+28)
+float(1.9807040619342712E+28)
 --- testing: 2147483647 * -9223372036854775808 ---
-float(-1.9807040619343E+28)
+float(-1.9807040619342712E+28)
 --- testing: 2147483647 * 2147483647 ---
 int(4611686014132420609)
 --- testing: 2147483647 * -2147483648 ---
 int(-4611686016279904256)
 --- testing: 2147483647 * 9223372034707292160 ---
-float(1.9807040614731E+28)
+float(1.9807040614731026E+28)
 --- testing: 2147483647 * -9223372034707292160 ---
-float(-1.9807040614731E+28)
+float(-1.9807040614731026E+28)
 --- testing: 2147483647 * 2147483648 ---
 int(4611686016279904256)
 --- testing: 2147483647 * -2147483649 ---
@@ -541,40 +541,40 @@ int(9223372030412324865)
 --- testing: 2147483647 * 4294967293 ---
 int(9223372026117357571)
 --- testing: 2147483647 * 9223372036854775806 ---
-float(1.9807040619343E+28)
+float(1.9807040619342712E+28)
 --- testing: 2147483647 * 9.2233720368548E+18 ---
-float(1.9807040619343E+28)
+float(1.9807040619342712E+28)
 --- testing: 2147483647 * -9223372036854775807 ---
-float(-1.9807040619343E+28)
+float(-1.9807040619342712E+28)
 --- testing: 2147483647 * -9.2233720368548E+18 ---
-float(-1.9807040619343E+28)
+float(-1.9807040619342712E+28)
 --- testing: 9223372036854775807 * 9223372036854775807 ---
-float(8.5070591730235E+37)
+float(8.507059173023462E+37)
 --- testing: 9223372036854775807 * -9223372036854775808 ---
-float(-8.5070591730235E+37)
+float(-8.507059173023462E+37)
 --- testing: 9223372036854775807 * 2147483647 ---
-float(1.9807040619343E+28)
+float(1.9807040619342712E+28)
 --- testing: 9223372036854775807 * -2147483648 ---
-float(-1.9807040628566E+28)
+float(-1.9807040628566084E+28)
 --- testing: 9223372036854775807 * 9223372034707292160 ---
-float(8.5070591710428E+37)
+float(8.5070591710427575E+37)
 --- testing: 9223372036854775807 * -9223372034707292160 ---
-float(-8.5070591710428E+37)
+float(-8.5070591710427575E+37)
 --- testing: 9223372036854775807 * 2147483648 ---
-float(1.9807040628566E+28)
+float(1.9807040628566084E+28)
 --- testing: 9223372036854775807 * -2147483649 ---
-float(-1.9807040637789E+28)
+float(-1.9807040637789456E+28)
 --- testing: 9223372036854775807 * 4294967294 ---
-float(3.9614081238685E+28)
+float(3.9614081238685425E+28)
 --- testing: 9223372036854775807 * 4294967295 ---
-float(3.9614081247909E+28)
+float(3.9614081247908797E+28)
 --- testing: 9223372036854775807 * 4294967293 ---
-float(3.9614081229462E+28)
+float(3.9614081229462053E+28)
 --- testing: 9223372036854775807 * 9223372036854775806 ---
-float(8.5070591730235E+37)
+float(8.507059173023462E+37)
 --- testing: 9223372036854775807 * 9.2233720368548E+18 ---
-float(8.5070591730235E+37)
+float(8.507059173023462E+37)
 --- testing: 9223372036854775807 * -9223372036854775807 ---
-float(-8.5070591730235E+37)
+float(-8.507059173023462E+37)
 --- testing: 9223372036854775807 * -9.2233720368548E+18 ---
-float(-8.5070591730235E+37)
+float(-8.507059173023462E+37)
index 8f33aa2f0007f749f72856fcbf3908b5065b81cc..a9f73c6bda5df534d86064b54606475969c4b7b2 100644 (file)
@@ -141,7 +141,7 @@ float(338.8)
 --- testing: '-7.7' * '1.2' ---
 float(-9.24)
 --- testing: '-7.7' * '-7.7' ---
-float(59.29)
+float(59.290000000000006)
 --- testing: '-7.7' * 'abc' ---
 float(-0)
 --- testing: '-7.7' * '123abc' ---
@@ -231,9 +231,9 @@ float(0)
 --- testing: '123e5' * '123abc' ---
 float(1512900000)
 --- testing: '123e5' * '123e5' ---
-float(1.5129E+14)
+float(151290000000000)
 --- testing: '123e5' * '123e5xyz' ---
-float(1.5129E+14)
+float(151290000000000)
 --- testing: '123e5' * ' 123abc' ---
 float(1512900000)
 --- testing: '123e5' * '123 abc' ---
@@ -259,9 +259,9 @@ float(0)
 --- testing: '123e5xyz' * '123abc' ---
 float(1512900000)
 --- testing: '123e5xyz' * '123e5' ---
-float(1.5129E+14)
+float(151290000000000)
 --- testing: '123e5xyz' * '123e5xyz' ---
-float(1.5129E+14)
+float(151290000000000)
 --- testing: '123e5xyz' * ' 123abc' ---
 float(1512900000)
 --- testing: '123e5xyz' * '123 abc' ---
@@ -381,7 +381,7 @@ float(418.2)
 --- testing: '3.4a' * '123abc ' ---
 float(418.2)
 --- testing: '3.4a' * '3.4a' ---
-float(11.56)
+float(11.559999999999999)
 --- testing: '3.4a' * 'a5.9' ---
 float(0)
 --- testing: 'a5.9' * '0' ---
index 4f60cbbd09a0db630108492adab24cfa4afcbf0e..66e7248e0fbfef2c4e1b50650e804a08a934922f 100644 (file)
@@ -29,7 +29,7 @@ foreach ($longVals as $longVal) {
 --- testing: 9223372036854775807 ---
 int(-9223372036854775807)
 --- testing: -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 2147483647 ---
 int(-2147483647)
 --- testing: -2147483648 ---
@@ -51,8 +51,8 @@ int(-4294967293)
 --- testing: 9223372036854775806 ---
 int(-9223372036854775806)
 --- testing: 9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9223372036854775807 ---
 int(9223372036854775807)
 --- testing: -9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
index 066b7eb2f320a6bef3e0b63d64c3366e03439d26..a372739134f62590e2aa7d0328cd3e221d908645 100644 (file)
@@ -30,7 +30,7 @@ foreach ($longVals as $longVal) {
 --- testing: 9223372036854775807 ---
 int(9223372036854775806)
 --- testing: -9223372036854775808 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 2147483647 ---
 int(2147483646)
 --- testing: -2147483648 ---
@@ -52,8 +52,8 @@ int(4294967292)
 --- testing: 9223372036854775806 ---
 int(9223372036854775805)
 --- testing: 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807 ---
 int(-9223372036854775808)
 --- testing: -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
index 5d7e8c62464c70d09f8f561b9886989615b3d932..cb452ccba9e66b96ab9abc4a59d6eec685af8cc5 100644 (file)
@@ -24,7 +24,7 @@ int(64)
 --- testing: '-44' ---
 int(-45)
 --- testing: '1.2' ---
-float(0.2)
+float(0.19999999999999996)
 --- testing: '-7.7' ---
 float(-8.7)
 --- testing: 'abc' ---
index 78a803de17f7d80cd88dcea20b9a54db10c036da..8c1446b7ef16d1b3098deb758528218999bb3eb9 100644 (file)
@@ -28,7 +28,7 @@ foreach ($longVals as $longVal) {
 ?>
 --EXPECT--
 --- testing: 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808 ---
 int(-9223372036854775807)
 --- testing: 2147483647 ---
@@ -52,8 +52,8 @@ int(4294967294)
 --- testing: 9223372036854775806 ---
 int(9223372036854775807)
 --- testing: 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807 ---
 int(-9223372036854775806)
 --- testing: -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
index 353755b3d47671ea60025f0f5c2dd33515f6d2d1..5e74f71566bd0adae8a01282688a83461a99260d 100644 (file)
@@ -29,7 +29,7 @@ foreach ($longVals as $longVal) {
 --- testing: 9223372036854775807 ---
 int(9223372036854775806)
 --- testing: -9223372036854775808 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 2147483647 ---
 int(2147483646)
 --- testing: -2147483648 ---
@@ -51,8 +51,8 @@ int(4294967292)
 --- testing: 9223372036854775806 ---
 int(9223372036854775805)
 --- testing: 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807 ---
 int(-9223372036854775808)
 --- testing: -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
index aa4b2dcc851966074b9a3806bf38f03fafb8084f..ebbb6c9de34990292d0393cc6c787e65253f0756 100644 (file)
@@ -23,7 +23,7 @@ int(64)
 --- testing: '-44' ---
 int(-45)
 --- testing: '1.2' ---
-float(0.2)
+float(0.19999999999999996)
 --- testing: '-7.7' ---
 float(-8.7)
 --- testing: 'abc' ---
index ca562a64f67f41e317d3a84156586c77fc4a8d97..ff2190c06f9ca7fb4360d96bf580a684f842e3e6 100644 (file)
@@ -27,7 +27,7 @@ foreach ($longVals as $longVal) {
 ?>
 --EXPECT--
 --- testing: 9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775808 ---
 int(-9223372036854775807)
 --- testing: 2147483647 ---
@@ -51,8 +51,8 @@ int(4294967294)
 --- testing: 9223372036854775806 ---
 int(9223372036854775807)
 --- testing: 9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -9223372036854775807 ---
 int(-9223372036854775806)
 --- testing: -9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
index 06853717379e10f1b7c7ff6f1db3f09769334ee2..9b7f6111d6c5c607fca155a9cd932f5606af36a3 100644 (file)
@@ -43,7 +43,7 @@ int(9223372036854775807)
 --- testing: 9223372036854775807 - 1 ---
 int(9223372036854775806)
 --- testing: 9223372036854775807 - -1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807 - 7 ---
 int(9223372036854775800)
 --- testing: 9223372036854775807 - 9 ---
@@ -51,7 +51,7 @@ int(9223372036854775798)
 --- testing: 9223372036854775807 - 65 ---
 int(9223372036854775742)
 --- testing: 9223372036854775807 - -44 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775807 - 2147483647 ---
 int(9223372034707292160)
 --- testing: 9223372036854775807 - 9223372036854775807 ---
@@ -59,21 +59,21 @@ int(0)
 --- testing: -9223372036854775808 - 0 ---
 int(-9223372036854775808)
 --- testing: -9223372036854775808 - 1 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9223372036854775808 - -1 ---
 int(-9223372036854775807)
 --- testing: -9223372036854775808 - 7 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9223372036854775808 - 9 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9223372036854775808 - 65 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9223372036854775808 - -44 ---
 int(-9223372036854775764)
 --- testing: -9223372036854775808 - 2147483647 ---
-float(-9.2233720390023E+18)
+float(-9.22337203900226E+18)
 --- testing: -9223372036854775808 - 9223372036854775807 ---
-float(-1.844674407371E+19)
+float(-1.8446744073709552E+19)
 --- testing: 2147483647 - 0 ---
 int(2147483647)
 --- testing: 2147483647 - 1 ---
@@ -109,7 +109,7 @@ int(-2147483604)
 --- testing: -2147483648 - 2147483647 ---
 int(-4294967295)
 --- testing: -2147483648 - 9223372036854775807 ---
-float(-9.2233720390023E+18)
+float(-9.22337203900226E+18)
 --- testing: 9223372034707292160 - 0 ---
 int(9223372034707292160)
 --- testing: 9223372034707292160 - 1 ---
@@ -145,7 +145,7 @@ int(-9223372034707292116)
 --- testing: -9223372034707292160 - 2147483647 ---
 int(-9223372036854775807)
 --- testing: -9223372034707292160 - 9223372036854775807 ---
-float(-1.8446744071562E+19)
+float(-1.8446744071562068E+19)
 --- testing: 2147483648 - 0 ---
 int(2147483648)
 --- testing: 2147483648 - 1 ---
@@ -181,7 +181,7 @@ int(-2147483605)
 --- testing: -2147483649 - 2147483647 ---
 int(-4294967296)
 --- testing: -2147483649 - 9223372036854775807 ---
-float(-9.2233720390023E+18)
+float(-9.22337203900226E+18)
 --- testing: 4294967294 - 0 ---
 int(4294967294)
 --- testing: 4294967294 - 1 ---
@@ -249,27 +249,27 @@ int(9223372036854775797)
 --- testing: 9223372036854775806 - 65 ---
 int(9223372036854775741)
 --- testing: 9223372036854775806 - -44 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9223372036854775806 - 2147483647 ---
 int(9223372034707292159)
 --- testing: 9223372036854775806 - 9223372036854775807 ---
 int(-1)
 --- testing: 9.2233720368548E+18 - 0 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 - 1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 - -1 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 - 7 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 - 9 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 - 65 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 - -44 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9.2233720368548E+18 - 2147483647 ---
-float(9.2233720347073E+18)
+float(9.223372034707292E+18)
 --- testing: 9.2233720368548E+18 - 9223372036854775807 ---
 float(0)
 --- testing: -9223372036854775807 - 0 ---
@@ -279,39 +279,39 @@ int(-9223372036854775808)
 --- testing: -9223372036854775807 - -1 ---
 int(-9223372036854775806)
 --- testing: -9223372036854775807 - 7 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9223372036854775807 - 9 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9223372036854775807 - 65 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9223372036854775807 - -44 ---
 int(-9223372036854775763)
 --- testing: -9223372036854775807 - 2147483647 ---
-float(-9.2233720390023E+18)
+float(-9.22337203900226E+18)
 --- testing: -9223372036854775807 - 9223372036854775807 ---
-float(-1.844674407371E+19)
+float(-1.8446744073709552E+19)
 --- testing: -9.2233720368548E+18 - 0 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 - 1 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 - -1 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 - 7 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 - 9 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 - 65 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 - -44 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -9.2233720368548E+18 - 2147483647 ---
-float(-9.2233720390023E+18)
+float(-9.22337203900226E+18)
 --- testing: -9.2233720368548E+18 - 9223372036854775807 ---
-float(-1.844674407371E+19)
+float(-1.8446744073709552E+19)
 --- testing: 0 - 9223372036854775807 ---
 int(-9223372036854775807)
 --- testing: 0 - -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 0 - 2147483647 ---
 int(-2147483647)
 --- testing: 0 - -2147483648 ---
@@ -333,15 +333,15 @@ int(-4294967293)
 --- testing: 0 - 9223372036854775806 ---
 int(-9223372036854775806)
 --- testing: 0 - 9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 0 - -9223372036854775807 ---
 int(9223372036854775807)
 --- testing: 0 - -9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 1 - 9223372036854775807 ---
 int(-9223372036854775806)
 --- testing: 1 - -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 1 - 2147483647 ---
 int(-2147483646)
 --- testing: 1 - -2147483648 ---
@@ -363,11 +363,11 @@ int(-4294967292)
 --- testing: 1 - 9223372036854775806 ---
 int(-9223372036854775805)
 --- testing: 1 - 9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 1 - -9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 1 - -9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -1 - 9223372036854775807 ---
 int(-9223372036854775808)
 --- testing: -1 - -9223372036854775808 ---
@@ -393,15 +393,15 @@ int(-4294967294)
 --- testing: -1 - 9223372036854775806 ---
 int(-9223372036854775807)
 --- testing: -1 - 9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -1 - -9223372036854775807 ---
 int(9223372036854775806)
 --- testing: -1 - -9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 7 - 9223372036854775807 ---
 int(-9223372036854775800)
 --- testing: 7 - -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 7 - 2147483647 ---
 int(-2147483640)
 --- testing: 7 - -2147483648 ---
@@ -423,15 +423,15 @@ int(-4294967286)
 --- testing: 7 - 9223372036854775806 ---
 int(-9223372036854775799)
 --- testing: 7 - 9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 7 - -9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 7 - -9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9 - 9223372036854775807 ---
 int(-9223372036854775798)
 --- testing: 9 - -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9 - 2147483647 ---
 int(-2147483638)
 --- testing: 9 - -2147483648 ---
@@ -453,15 +453,15 @@ int(-4294967284)
 --- testing: 9 - 9223372036854775806 ---
 int(-9223372036854775797)
 --- testing: 9 - 9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 9 - -9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 9 - -9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 65 - 9223372036854775807 ---
 int(-9223372036854775742)
 --- testing: 65 - -9223372036854775808 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 65 - 2147483647 ---
 int(-2147483582)
 --- testing: 65 - -2147483648 ---
@@ -483,13 +483,13 @@ int(-4294967228)
 --- testing: 65 - 9223372036854775806 ---
 int(-9223372036854775741)
 --- testing: 65 - 9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: 65 - -9223372036854775807 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 65 - -9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: -44 - 9223372036854775807 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -44 - -9223372036854775808 ---
 int(9223372036854775764)
 --- testing: -44 - 2147483647 ---
@@ -511,17 +511,17 @@ int(-4294967339)
 --- testing: -44 - 4294967293 ---
 int(-4294967337)
 --- testing: -44 - 9223372036854775806 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -44 - 9.2233720368548E+18 ---
-float(-9.2233720368548E+18)
+float(-9.223372036854776E+18)
 --- testing: -44 - -9223372036854775807 ---
 int(9223372036854775763)
 --- testing: -44 - -9.2233720368548E+18 ---
-float(9.2233720368548E+18)
+float(9.223372036854776E+18)
 --- testing: 2147483647 - 9223372036854775807 ---
 int(-9223372034707292160)
 --- testing: 2147483647 - -9223372036854775808 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: 2147483647 - 2147483647 ---
 int(0)
 --- testing: 2147483647 - -2147483648 ---
@@ -543,27 +543,27 @@ int(-2147483646)
 --- testing: 2147483647 - 9223372036854775806 ---
 int(-9223372034707292159)
 --- testing: 2147483647 - 9.2233720368548E+18 ---
-float(-9.2233720347073E+18)
+float(-9.223372034707292E+18)
 --- testing: 2147483647 - -9223372036854775807 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: 2147483647 - -9.2233720368548E+18 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: 9223372036854775807 - 9223372036854775807 ---
 int(0)
 --- testing: 9223372036854775807 - -9223372036854775808 ---
-float(1.844674407371E+19)
+float(1.8446744073709552E+19)
 --- testing: 9223372036854775807 - 2147483647 ---
 int(9223372034707292160)
 --- testing: 9223372036854775807 - -2147483648 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: 9223372036854775807 - 9223372034707292160 ---
 int(2147483647)
 --- testing: 9223372036854775807 - -9223372034707292160 ---
-float(1.8446744071562E+19)
+float(1.8446744071562068E+19)
 --- testing: 9223372036854775807 - 2147483648 ---
 int(9223372034707292159)
 --- testing: 9223372036854775807 - -2147483649 ---
-float(9.2233720390023E+18)
+float(9.22337203900226E+18)
 --- testing: 9223372036854775807 - 4294967294 ---
 int(9223372032559808513)
 --- testing: 9223372036854775807 - 4294967295 ---
@@ -575,6 +575,6 @@ int(1)
 --- testing: 9223372036854775807 - 9.2233720368548E+18 ---
 float(0)
 --- testing: 9223372036854775807 - -9223372036854775807 ---
-float(1.844674407371E+19)
+float(1.8446744073709552E+19)
 --- testing: 9223372036854775807 - -9.2233720368548E+18 ---
-float(1.844674407371E+19)
+float(1.8446744073709552E+19)