summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-02-12 10:27:28 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-02-25 09:51:32 +0100
commita9398056417d27cb1754cdb846411c695d3afe10 (patch)
tree1cdab35caacdf491977aeaf4159a72ef976cdae6
parentc3aa9132d67364d52e4da79081c3e9823be7ae45 (diff)
downloadphp-git-a9398056417d27cb1754cdb846411c695d3afe10.tar.gz
Use serialize_precision for var_dump()
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.
-rw-r--r--UPGRADING4
-rw-r--r--Zend/tests/add_005.phpt4
-rw-r--r--Zend/tests/binary-32bit.phpt44
-rw-r--r--Zend/tests/binary.phpt12
-rw-r--r--Zend/tests/decrement_001_64bit.phpt4
-rw-r--r--Zend/tests/div_001.phpt6
-rw-r--r--Zend/tests/hex_overflow_32bit.phpt2
-rw-r--r--Zend/tests/numeric_string_errors.phpt4
-rw-r--r--Zend/tests/numeric_string_errors_assign.phpt4
-rw-r--r--Zend/tests/type_declarations/scalar_return_basic_64bit.phpt2
-rw-r--r--Zend/tests/type_declarations/scalar_strict_64bit.phpt2
-rw-r--r--Zend/tests/zend_signed_multiply-64bit-2.phpt24
-rw-r--r--Zend/tests/zend_signed_multiply-64bit.phpt2
-rw-r--r--Zend/tests/zend_strtod.phpt4
-rw-r--r--ext/exif/tests/float_cast_overflow.phpt2
-rw-r--r--ext/json/tests/008.phpt2
-rw-r--r--ext/json/tests/bug63737.phpt12
-rw-r--r--ext/mysqli/tests/010.phpt4
-rw-r--r--ext/standard/tests/array/001.phpt4
-rw-r--r--ext/standard/tests/array/002.phpt50
-rw-r--r--ext/standard/tests/array/003.phpt6
-rw-r--r--ext/standard/tests/array/array_combine_variation5.phpt2
-rw-r--r--ext/standard/tests/array/array_diff_assoc_variation6.phpt18
-rw-r--r--ext/standard/tests/array/array_diff_variation8.phpt2
-rw-r--r--ext/standard/tests/array/array_map_variation5.phpt2
-rw-r--r--ext/standard/tests/array/array_merge_recursive_variation5.phpt4
-rw-r--r--ext/standard/tests/array/array_product_variation3.phpt2
-rw-r--r--ext/standard/tests/array/array_reverse_variation5.phpt12
-rw-r--r--ext/standard/tests/array/array_unique_variation4.phpt2
-rw-r--r--ext/standard/tests/array/array_unshift_variation5.phpt8
-rw-r--r--ext/standard/tests/array/bug35014.phpt6
-rw-r--r--ext/standard/tests/array/bug35014_64bit.phpt4
-rw-r--r--ext/standard/tests/array/range.phpt8
-rw-r--r--ext/standard/tests/array/range_variation.phpt52
-rw-r--r--ext/standard/tests/general_functions/008.phpt4
-rw-r--r--ext/standard/tests/general_functions/gettype_settype_variation3.phpt10
-rw-r--r--ext/standard/tests/math/abs_basiclong_64bit.phpt6
-rw-r--r--ext/standard/tests/math/acos_variation.phpt4
-rw-r--r--ext/standard/tests/math/acosh_basiclong_64bit.phpt2
-rw-r--r--ext/standard/tests/math/acosh_variation.phpt18
-rw-r--r--ext/standard/tests/math/asin_variation.phpt2
-rw-r--r--ext/standard/tests/math/asinh_basiclong_64bit.phpt2
-rw-r--r--ext/standard/tests/math/asinh_variation.phpt2
-rw-r--r--ext/standard/tests/math/atan2_basic.phpt2
-rw-r--r--ext/standard/tests/math/atan2_basiclong_64bit.phpt330
-rw-r--r--ext/standard/tests/math/atan_basiclong_64bit.phpt30
-rw-r--r--ext/standard/tests/math/atan_variation.phpt24
-rw-r--r--ext/standard/tests/math/bindec_basiclong_64bit.phpt6
-rw-r--r--ext/standard/tests/math/ceil_basiclong_64bit.phpt16
-rw-r--r--ext/standard/tests/math/constants_basic.phpt34
-rw-r--r--ext/standard/tests/math/cos_basiclong_64bit.phpt2
-rw-r--r--ext/standard/tests/math/cos_variation.phpt2
-rw-r--r--ext/standard/tests/math/cosh_variation.phpt2
-rw-r--r--ext/standard/tests/math/deg2rad_basiclong_64bit.phpt28
-rw-r--r--ext/standard/tests/math/deg2rad_variation.phpt24
-rw-r--r--ext/standard/tests/math/exp_basic.phpt2
-rw-r--r--ext/standard/tests/math/expm1_basic.phpt2
-rw-r--r--ext/standard/tests/math/fdiv.phpt4
-rw-r--r--ext/standard/tests/math/floor_basiclong_64bit.phpt16
-rw-r--r--ext/standard/tests/math/fmod_basic.phpt18
-rw-r--r--ext/standard/tests/math/fmod_basiclong_64bit.phpt8
-rw-r--r--ext/standard/tests/math/hexdec_basiclong_64bit.phpt6
-rw-r--r--ext/standard/tests/math/hypot_basic.phpt242
-rw-r--r--ext/standard/tests/math/hypot_basiclong_64bit.phpt254
-rw-r--r--ext/standard/tests/math/log10_basiclong_64bit.phpt18
-rw-r--r--ext/standard/tests/math/log10_variation.phpt14
-rw-r--r--ext/standard/tests/math/log1p_basic.phpt16
-rw-r--r--ext/standard/tests/math/log1p_basiclong_64bit.phpt18
-rw-r--r--ext/standard/tests/math/log_basic.phpt30
-rw-r--r--ext/standard/tests/math/log_basiclong_64bit.phpt18
-rw-r--r--ext/standard/tests/math/octdec_basiclong_64bit.phpt6
-rw-r--r--ext/standard/tests/math/pow_basiclong_64bit.phpt94
-rw-r--r--ext/standard/tests/math/pow_variation1.phpt2
-rw-r--r--ext/standard/tests/math/pow_variation1_64bit.phpt6
-rw-r--r--ext/standard/tests/math/pow_variation2.phpt2
-rw-r--r--ext/standard/tests/math/rad2deg_basiclong_64bit.phpt30
-rw-r--r--ext/standard/tests/math/rad2deg_variation.phpt24
-rw-r--r--ext/standard/tests/math/round_basiclong_64bit.phpt16
-rw-r--r--ext/standard/tests/math/sin_basiclong_64bit.phpt2
-rw-r--r--ext/standard/tests/math/sin_variation.phpt2
-rw-r--r--ext/standard/tests/math/sinh_variation.phpt2
-rw-r--r--ext/standard/tests/math/sqrt_basiclong_64bit.phpt18
-rw-r--r--ext/standard/tests/math/sqrt_variation.phpt12
-rw-r--r--ext/standard/tests/math/tan_basiclong_64bit.phpt8
-rw-r--r--ext/standard/tests/math/tan_variation.phpt2
-rw-r--r--ext/standard/tests/math/tanh_variation.phpt2
-rw-r--r--ext/standard/tests/serialize/003.phpt6
-rw-r--r--ext/standard/tests/serialize/serialization_arrays_001.phpt4
-rw-r--r--ext/standard/tests/serialize/serialization_miscTypes_001.phptbin7606 -> 7641 bytes
-rw-r--r--ext/standard/tests/serialize/serialization_objects_001.phptbin2428 -> 2557 bytes
-rw-r--r--ext/standard/tests/serialize/serialization_objects_002.phptbin7233 -> 7568 bytes
-rw-r--r--ext/standard/tests/serialize/serialization_objects_003.phpt2
-rw-r--r--ext/standard/tests/strings/pack_float.phpt46
-rw-r--r--ext/standard/tests/strings/similar_text_basic.phpt6
-rw-r--r--ext/standard/var.c4
-rwxr-xr-xrun-tests.php1
-rw-r--r--tests/lang/bug24640.phpt16
-rw-r--r--tests/lang/operators/add_basiclong_64bit.phpt148
-rw-r--r--tests/lang/operators/add_variationStr.phpt4
-rw-r--r--tests/lang/operators/divide_basiclong_64bit.phpt364
-rw-r--r--tests/lang/operators/divide_variationStr.phpt148
-rw-r--r--tests/lang/operators/multiply_basiclong_64bit.phpt240
-rw-r--r--tests/lang/operators/multiply_variationStr.phpt12
-rw-r--r--tests/lang/operators/negate_basiclong_64bit.phpt6
-rw-r--r--tests/lang/operators/postdec_basiclong_64bit.phpt6
-rw-r--r--tests/lang/operators/postdec_variationStr.phpt2
-rw-r--r--tests/lang/operators/postinc_basiclong_64bit.phpt6
-rw-r--r--tests/lang/operators/predec_basiclong_64bit.phpt6
-rw-r--r--tests/lang/operators/predec_variationStr.phpt2
-rw-r--r--tests/lang/operators/preinc_basiclong_64bit.phpt6
-rw-r--r--tests/lang/operators/subtract_basiclong_64bit.phpt138
111 files changed, 1472 insertions, 1465 deletions
diff --git a/UPGRADING b/UPGRADING
index 9275d20df9..2696cf8376 100644
--- 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
diff --git a/Zend/tests/add_005.phpt b/Zend/tests/add_005.phpt
index f5c20124cc..6981d7656f 100644
--- a/Zend/tests/add_005.phpt
+++ b/Zend/tests/add_005.phpt
@@ -17,6 +17,6 @@ var_dump($c);
echo "Done\n";
?>
--EXPECT--
-float(2834756759.1231)
-float(2834756759.1231)
+float(2834756759.123123)
+float(2834756759.123123)
Done
diff --git a/Zend/tests/binary-32bit.phpt b/Zend/tests/binary-32bit.phpt
index 4b87aded4f..c66e863eb5 100644
--- a/Zend/tests/binary-32bit.phpt
+++ b/Zend/tests/binary-32bit.phpt
@@ -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)
diff --git a/Zend/tests/binary.phpt b/Zend/tests/binary.phpt
index 039cf80ce4..2dcbf18413 100644
--- a/Zend/tests/binary.phpt
+++ b/Zend/tests/binary.phpt
@@ -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)
diff --git a/Zend/tests/decrement_001_64bit.phpt b/Zend/tests/decrement_001_64bit.phpt
index cce9875a78..2b2100932a 100644
--- a/Zend/tests/decrement_001_64bit.phpt
+++ b/Zend/tests/decrement_001_64bit.phpt
@@ -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
diff --git a/Zend/tests/div_001.phpt b/Zend/tests/div_001.phpt
index 051ed3f733..11cf897541 100644
--- a/Zend/tests/div_001.phpt
+++ b/Zend/tests/div_001.phpt
@@ -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
diff --git a/Zend/tests/hex_overflow_32bit.phpt b/Zend/tests/hex_overflow_32bit.phpt
index 4d4e95818c..71be6dc051 100644
--- a/Zend/tests/hex_overflow_32bit.phpt
+++ b/Zend/tests/hex_overflow_32bit.phpt
@@ -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--
diff --git a/Zend/tests/numeric_string_errors.phpt b/Zend/tests/numeric_string_errors.phpt
index 15dcd04461..83c948981b 100644
--- a/Zend/tests/numeric_string_errors.phpt
+++ b/Zend/tests/numeric_string_errors.phpt
@@ -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
diff --git a/Zend/tests/numeric_string_errors_assign.phpt b/Zend/tests/numeric_string_errors_assign.phpt
index b13a7ec717..69be0c114d 100644
--- a/Zend/tests/numeric_string_errors_assign.phpt
+++ b/Zend/tests/numeric_string_errors_assign.phpt
@@ -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
diff --git a/Zend/tests/type_declarations/scalar_return_basic_64bit.phpt b/Zend/tests/type_declarations/scalar_return_basic_64bit.phpt
index fa7aacdef3..ad987e58da 100644
--- a/Zend/tests/type_declarations/scalar_return_basic_64bit.phpt
+++ b/Zend/tests/type_declarations/scalar_return_basic_64bit.phpt
@@ -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)
diff --git a/Zend/tests/type_declarations/scalar_strict_64bit.phpt b/Zend/tests/type_declarations/scalar_strict_64bit.phpt
index 0f39700b7f..2d00b6f23b 100644
--- a/Zend/tests/type_declarations/scalar_strict_64bit.phpt
+++ b/Zend/tests/type_declarations/scalar_strict_64bit.phpt
@@ -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)
diff --git a/Zend/tests/zend_signed_multiply-64bit-2.phpt b/Zend/tests/zend_signed_multiply-64bit-2.phpt
index ff0e88a78d..dab3050ed4 100644
--- a/Zend/tests/zend_signed_multiply-64bit-2.phpt
+++ b/Zend/tests/zend_signed_multiply-64bit-2.phpt
@@ -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)
-----------
diff --git a/Zend/tests/zend_signed_multiply-64bit.phpt b/Zend/tests/zend_signed_multiply-64bit.phpt
index 20ef277770..615c67b966 100644
--- a/Zend/tests/zend_signed_multiply-64bit.phpt
+++ b/Zend/tests/zend_signed_multiply-64bit.phpt
@@ -11,4 +11,4 @@ var_dump(0x80000001 * -0xffffffff);
--EXPECT--
int(-9223372034707292160)
int(9223372036854775806)
-float(-9.2233720390023E+18)
+float(-9.22337203900226E+18)
diff --git a/Zend/tests/zend_strtod.phpt b/Zend/tests/zend_strtod.phpt
index 4530ce2e8c..af7b612844 100644
--- a/Zend/tests/zend_strtod.phpt
+++ b/Zend/tests/zend_strtod.phpt
@@ -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
diff --git a/ext/exif/tests/float_cast_overflow.phpt b/ext/exif/tests/float_cast_overflow.phpt
index 112191437d..8f5893eb91 100644
--- a/ext/exif/tests/float_cast_overflow.phpt
+++ b/ext/exif/tests/float_cast_overflow.phpt
@@ -38,6 +38,6 @@ array(8) {
["ImageWidth"]=>
int(1)
["ImageLength"]=>
- float(-2.5961487387524E+33)
+ float(-2.5961487387524236E+33)
}
}
diff --git a/ext/json/tests/008.phpt b/ext/json/tests/008.phpt
index f2354d381f..6cfd91b89c 100644
--- a/ext/json/tests/008.phpt
+++ b/ext/json/tests/008.phpt
@@ -12,6 +12,6 @@ var_dump($x->largenum);
echo "Done\n";
?>
--EXPECT--
-float(1.2345678901235E+29)
+float(1.2345678901234568E+29)
string(30) "123456789012345678901234567890"
Done
diff --git a/ext/json/tests/bug63737.phpt b/ext/json/tests/bug63737.phpt
index 1fb06d485e..c7a60a28c4 100644
--- a/ext/json/tests/bug63737.phpt
+++ b/ext/json/tests/bug63737.phpt
@@ -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
diff --git a/ext/mysqli/tests/010.phpt b/ext/mysqli/tests/010.phpt
index 3b55d0801c..4da24b680a 100644
--- a/ext/mysqli/tests/010.phpt
+++ b/ext/mysqli/tests/010.phpt
@@ -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!
diff --git a/ext/standard/tests/array/001.phpt b/ext/standard/tests/array/001.phpt
index 3b9804655b..c88aee367f 100644
--- a/ext/standard/tests/array/001.phpt
+++ b/ext/standard/tests/array/001.phpt
@@ -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]=>
diff --git a/ext/standard/tests/array/002.phpt b/ext/standard/tests/array/002.phpt
index 589514ae03..0f799f396c 100644
--- a/ext/standard/tests/array/002.phpt
+++ b/ext/standard/tests/array/002.phpt
@@ -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]=>
diff --git a/ext/standard/tests/array/003.phpt b/ext/standard/tests/array/003.phpt
index cce2d4922c..2cea8034bb 100644
--- a/ext/standard/tests/array/003.phpt
+++ b/ext/standard/tests/array/003.phpt
@@ -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]=>
diff --git a/ext/standard/tests/array/array_combine_variation5.phpt b/ext/standard/tests/array/array_combine_variation5.phpt
index db5c90df34..cb399cbc56 100644
--- a/ext/standard/tests/array/array_combine_variation5.phpt
+++ b/ext/standard/tests/array/array_combine_variation5.phpt
@@ -117,7 +117,7 @@ array(4) {
["3.33"]=>
float(3.33)
["4.8999992284"]=>
- float(4.8999992284)
+ float(4.89999922839999)
["33333333.333"]=>
float(33333333.333)
}
diff --git a/ext/standard/tests/array/array_diff_assoc_variation6.phpt b/ext/standard/tests/array/array_diff_assoc_variation6.phpt
index b4ef6d2304..f66dea6a83 100644
--- a/ext/standard/tests/array/array_diff_assoc_variation6.phpt
+++ b/ext/standard/tests/array/array_diff_assoc_variation6.phpt
@@ -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)
}
diff --git a/ext/standard/tests/array/array_diff_variation8.phpt b/ext/standard/tests/array/array_diff_variation8.phpt
index db06ee6473..e1ebf548da 100644
--- a/ext/standard/tests/array/array_diff_variation8.phpt
+++ b/ext/standard/tests/array/array_diff_variation8.phpt
@@ -122,7 +122,7 @@ array(4) {
["f2"]=>
float(3.33)
[3]=>
- float(4.8999992284)
+ float(4.89999922839999)
["f4"]=>
float(1.2)
}
diff --git a/ext/standard/tests/array/array_map_variation5.phpt b/ext/standard/tests/array/array_map_variation5.phpt
index e286095576..a8ea43be6d 100644
--- a/ext/standard/tests/array/array_map_variation5.phpt
+++ b/ext/standard/tests/array/array_map_variation5.phpt
@@ -114,7 +114,7 @@ array(4) {
["f2"]=>
float(3.33)
[3]=>
- float(4.8999992284)
+ float(4.89999922839999)
["f4"]=>
float(33333333.3333)
}
diff --git a/ext/standard/tests/array/array_merge_recursive_variation5.phpt b/ext/standard/tests/array/array_merge_recursive_variation5.phpt
index 34cdfe409f..6f6da8b58b 100644
--- a/ext/standard/tests/array/array_merge_recursive_variation5.phpt
+++ b/ext/standard/tests/array/array_merge_recursive_variation5.phpt
@@ -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]=>
diff --git a/ext/standard/tests/array/array_product_variation3.phpt b/ext/standard/tests/array/array_product_variation3.phpt
index 588e46249e..fe7b64da72 100644
--- a/ext/standard/tests/array/array_product_variation3.phpt
+++ b/ext/standard/tests/array/array_product_variation3.phpt
@@ -43,4 +43,4 @@ int(-24)
float(-1.5)
-- Testing array_product() function with negative floats --
-float(-9.9999999E+15)
+float(-9999999900000000)
diff --git a/ext/standard/tests/array/array_reverse_variation5.phpt b/ext/standard/tests/array/array_reverse_variation5.phpt
index dbd316ab8a..66255e94c2 100644
--- a/ext/standard/tests/array/array_reverse_variation5.phpt
+++ b/ext/standard/tests/array/array_reverse_variation5.phpt
@@ -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"]=>
diff --git a/ext/standard/tests/array/array_unique_variation4.phpt b/ext/standard/tests/array/array_unique_variation4.phpt
index 752ebf54ea..53e7308336 100644
--- a/ext/standard/tests/array/array_unique_variation4.phpt
+++ b/ext/standard/tests/array/array_unique_variation4.phpt
@@ -91,7 +91,7 @@ array(3) {
["f2"]=>
float(3.33)
[3]=>
- float(4.8999992284)
+ float(4.89999922839999)
}
-- Iteration 5 --
array(3) {
diff --git a/ext/standard/tests/array/array_unshift_variation5.phpt b/ext/standard/tests/array/array_unshift_variation5.phpt
index 0cc3064864..022a39e5cc 100644
--- a/ext/standard/tests/array/array_unshift_variation5.phpt
+++ b/ext/standard/tests/array/array_unshift_variation5.phpt
@@ -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)
diff --git a/ext/standard/tests/array/bug35014.phpt b/ext/standard/tests/array/bug35014.phpt
index 8980f00d80..f1f407081f 100644
--- a/ext/standard/tests/array/bug35014.phpt
+++ b/ext/standard/tests/array/bug35014.phpt
@@ -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)
diff --git a/ext/standard/tests/array/bug35014_64bit.phpt b/ext/standard/tests/array/bug35014_64bit.phpt
index 91face05af..40d656d835 100644
--- a/ext/standard/tests/array/bug35014_64bit.phpt
+++ b/ext/standard/tests/array/bug35014_64bit.phpt
@@ -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)
diff --git a/ext/standard/tests/array/range.phpt b/ext/standard/tests/array/range.phpt
index 562335d099..98770dc5b6 100644
--- a/ext/standard/tests/array/range.phpt
+++ b/ext/standard/tests/array/range.phpt
@@ -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]=>
diff --git a/ext/standard/tests/array/range_variation.phpt b/ext/standard/tests/array/range_variation.phpt
index a8c3fc1e0d..e924a2784a 100644
--- a/ext/standard/tests/array/range_variation.phpt
+++ b/ext/standard/tests/array/range_variation.phpt
@@ -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' --
diff --git a/ext/standard/tests/general_functions/008.phpt b/ext/standard/tests/general_functions/008.phpt
index 1148f777f4..45ffacbffe 100644
--- a/ext/standard/tests/general_functions/008.phpt
+++ b/ext/standard/tests/general_functions/008.phpt
@@ -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)
}
diff --git a/ext/standard/tests/general_functions/gettype_settype_variation3.phpt b/ext/standard/tests/general_functions/gettype_settype_variation3.phpt
index f17b261437..60c1d76cc6 100644
--- a/ext/standard/tests/general_functions/gettype_settype_variation3.phpt
+++ b/ext/standard/tests/general_functions/gettype_settype_variation3.phpt
@@ -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"
diff --git a/ext/standard/tests/math/abs_basiclong_64bit.phpt b/ext/standard/tests/math/abs_basiclong_64bit.phpt
index f3e72b062a..e7d5988260 100644
--- a/ext/standard/tests/math/abs_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/abs_basiclong_64bit.phpt
@@ -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)
diff --git a/ext/standard/tests/math/acos_variation.phpt b/ext/standard/tests/math/acos_variation.phpt
index 20065d62eb..3c04fd181d 100644
--- a/ext/standard/tests/math/acos_variation.phpt
+++ b/ext/standard/tests/math/acos_variation.phpt
@@ -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)
diff --git a/ext/standard/tests/math/acosh_basiclong_64bit.phpt b/ext/standard/tests/math/acosh_basiclong_64bit.phpt
index 428ae3e5fb..221c80bc68 100644
--- a/ext/standard/tests/math/acosh_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/acosh_basiclong_64bit.phpt
@@ -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
diff --git a/ext/standard/tests/math/acosh_variation.phpt b/ext/standard/tests/math/acosh_variation.phpt
index 27e1a9ac24..923268127b 100644
--- a/ext/standard/tests/math/acosh_variation.phpt
+++ b/ext/standard/tests/math/acosh_variation.phpt
@@ -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)
diff --git a/ext/standard/tests/math/asin_variation.phpt b/ext/standard/tests/math/asin_variation.phpt
index 7c0e5a37d6..c59e43323e 100644
--- a/ext/standard/tests/math/asin_variation.phpt
+++ b/ext/standard/tests/math/asin_variation.phpt
@@ -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)
diff --git a/ext/standard/tests/math/asinh_basiclong_64bit.phpt b/ext/standard/tests/math/asinh_basiclong_64bit.phpt
index db8b7ad03e..dc507c9f50 100644
--- a/ext/standard/tests/math/asinh_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/asinh_basiclong_64bit.phpt
@@ -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
diff --git a/ext/standard/tests/math/asinh_variation.phpt b/ext/standard/tests/math/asinh_variation.phpt
index f4304148cb..0446681883 100644
--- a/ext/standard/tests/math/asinh_variation.phpt
+++ b/ext/standard/tests/math/asinh_variation.phpt
@@ -1,7 +1,7 @@
--TEST--
Test variations in usage of asinh()
--INI--
-precision = 10
+serialize_precision = 10
--FILE--
<?php
/*
diff --git a/ext/standard/tests/math/atan2_basic.phpt b/ext/standard/tests/math/atan2_basic.phpt
index fe015ac2aa..1763795cfa 100644
--- a/ext/standard/tests/math/atan2_basic.phpt
+++ b/ext/standard/tests/math/atan2_basic.phpt
@@ -1,7 +1,7 @@
--TEST--
Test atan2() - basic function test of atan2()
--INI--
-precision=14
+serialize_precision=14
--FILE--
<?php
$valuesy = array(23,
diff --git a/ext/standard/tests/math/atan2_basiclong_64bit.phpt b/ext/standard/tests/math/atan2_basiclong_64bit.phpt
index e29501232d..ead69cd61a 100644
--- a/ext/standard/tests/math/atan2_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/atan2_basiclong_64bit.phpt
@@ -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)
diff --git a/ext/standard/tests/math/atan_basiclong_64bit.phpt b/ext/standard/tests/math/atan_basiclong_64bit.phpt
index 2f5945dd2f..b7a3d20e8f 100644
--- a/ext/standard/tests/math/atan_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/atan_basiclong_64bit.phpt
@@ -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)
diff --git a/ext/standard/tests/math/atan_variation.phpt b/ext/standard/tests/math/atan_variation.phpt
index 409f0b1719..619f432481 100644
--- a/ext/standard/tests/math/atan_variation.phpt
+++ b/ext/standard/tests/math/atan_variation.phpt
@@ -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)
diff --git a/ext/standard/tests/math/bindec_basiclong_64bit.phpt b/ext/standard/tests/math/bindec_basiclong_64bit.phpt
index 8b69d6b4c3..b4f28a091d 100644
--- a/ext/standard/tests/math/bindec_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/bindec_basiclong_64bit.phpt
@@ -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 ---
diff --git a/ext/standard/tests/math/ceil_basiclong_64bit.phpt b/ext/standard/tests/math/ceil_basiclong_64bit.phpt
index e1cc4b4dc6..7cd9511b03 100644
--- a/ext/standard/tests/math/ceil_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/ceil_basiclong_64bit.phpt
@@ -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)
diff --git a/ext/standard/tests/math/constants_basic.phpt b/ext/standard/tests/math/constants_basic.phpt
index f44c6de4ff..f08940b233 100644
--- a/ext/standard/tests/math/constants_basic.phpt
+++ b/ext/standard/tests/math/constants_basic.phpt
@@ -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)
diff --git a/ext/standard/tests/math/cos_basiclong_64bit.phpt b/ext/standard/tests/math/cos_basiclong_64bit.phpt
index c575bd7930..b132bba7a8 100644
--- a/ext/standard/tests/math/cos_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/cos_basiclong_64bit.phpt
@@ -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
diff --git a/ext/standard/tests/math/cos_variation.phpt b/ext/standard/tests/math/cos_variation.phpt
index da92b6aafe..1957e1332a 100644
--- a/ext/standard/tests/math/cos_variation.phpt
+++ b/ext/standard/tests/math/cos_variation.phpt
@@ -1,7 +1,7 @@
--TEST--
Test variations in usage of cos()
--INI--
-precision = 10
+serialize_precision = 10
--FILE--
<?php
/*
diff --git a/ext/standard/tests/math/cosh_variation.phpt b/ext/standard/tests/math/cosh_variation.phpt
index a0b3b60f19..bac44f262b 100644
--- a/ext/standard/tests/math/cosh_variation.phpt
+++ b/ext/standard/tests/math/cosh_variation.phpt
@@ -1,7 +1,7 @@
--TEST--
Test variations in usage of cosh()
--INI--
-precision = 10
+serialize_precision = 10
--FILE--
<?php
/*
diff --git a/ext/standard/tests/math/deg2rad_basiclong_64bit.phpt b/ext/standard/tests/math/deg2rad_basiclong_64bit.phpt
index ae4087eccb..5817ee8122 100644
--- a/ext/standard/tests/math/deg2rad_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/deg2rad_basiclong_64bit.phpt
@@ -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)
diff --git a/ext/standard/tests/math/deg2rad_variation.phpt b/ext/standard/tests/math/deg2rad_variation.phpt
index 3e344540a2..8a9874f847 100644
--- a/ext/standard/tests/math/deg2rad_variation.phpt
+++ b/ext/standard/tests/math/deg2rad_variation.phpt
@@ -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)
diff --git a/ext/standard/tests/math/exp_basic.phpt b/ext/standard/tests/math/exp_basic.phpt
index b73889153f..cf67db2c7a 100644
--- a/ext/standard/tests/math/exp_basic.phpt
+++ b/ext/standard/tests/math/exp_basic.phpt
@@ -1,7 +1,7 @@
--TEST--
Test exp() - basic function test for exp()
--INI--
-precision=14
+serialize_precision=14
--FILE--
<?php
$values = array(10,
diff --git a/ext/standard/tests/math/expm1_basic.phpt b/ext/standard/tests/math/expm1_basic.phpt
index 296838570c..f5faefd8bb 100644
--- a/ext/standard/tests/math/expm1_basic.phpt
+++ b/ext/standard/tests/math/expm1_basic.phpt
@@ -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 )
diff --git a/ext/standard/tests/math/fdiv.phpt b/ext/standard/tests/math/fdiv.phpt
index dd50cfdb78..6a6ad73250 100644
--- a/ext/standard/tests/math/fdiv.phpt
+++ b/ext/standard/tests/math/fdiv.phpt
@@ -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)
diff --git a/ext/standard/tests/math/floor_basiclong_64bit.phpt b/ext/standard/tests/math/floor_basiclong_64bit.phpt
index 3bc4e6393e..70c0e9210f 100644
--- a/ext/standard/tests/math/floor_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/floor_basiclong_64bit.phpt
@@ -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)
diff --git a/ext/standard/tests/math/fmod_basic.phpt b/ext/standard/tests/math/fmod_basic.phpt
index e7b204f540..731b76adab 100644
--- a/ext/standard/tests/math/fmod_basic.phpt
+++ b/ext/standard/tests/math/fmod_basic.phpt
@@ -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)
diff --git a/ext/standard/tests/math/fmod_basiclong_64bit.phpt b/ext/standard/tests/math/fmod_basiclong_64bit.phpt
index 5ef283689e..a6b830014d 100644
--- a/ext/standard/tests/math/fmod_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/fmod_basiclong_64bit.phpt
@@ -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 ---
diff --git a/ext/standard/tests/math/hexdec_basiclong_64bit.phpt b/ext/standard/tests/math/hexdec_basiclong_64bit.phpt
index b378b452eb..af0b448cac 100644
--- a/ext/standard/tests/math/hexdec_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/hexdec_basiclong_64bit.phpt
@@ -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 ---
diff --git a/ext/standard/tests/math/hypot_basic.phpt b/ext/standard/tests/math/hypot_basic.phpt
index f9e5787f40..cc2e73b3cd 100644
--- a/ext/standard/tests/math/hypot_basic.phpt
+++ b/ext/standard/tests/math/hypot_basic.phpt
@@ -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)
diff --git a/ext/standard/tests/math/hypot_basiclong_64bit.phpt b/ext/standard/tests/math/hypot_basiclong_64bit.phpt
index 1e1ca60996..00ce7226c2 100644
--- a/ext/standard/tests/math/hypot_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/hypot_basiclong_64bit.phpt
@@ -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)
diff --git a/ext/standard/tests/math/log10_basiclong_64bit.phpt b/ext/standard/tests/math/log10_basiclong_64bit.phpt
index ef00d37d02..eb679a2340 100644
--- a/ext/standard/tests/math/log10_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/log10_basiclong_64bit.phpt
@@ -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 ---
diff --git a/ext/standard/tests/math/log10_variation.phpt b/ext/standard/tests/math/log10_variation.phpt
index e852d82ea9..e6af00ec2d 100644
--- a/ext/standard/tests/math/log10_variation.phpt
+++ b/ext/standard/tests/math/log10_variation.phpt
@@ -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
diff --git a/ext/standard/tests/math/log1p_basic.phpt b/ext/standard/tests/math/log1p_basic.phpt
index 115deec1d9..9dce971f78 100644
--- a/ext/standard/tests/math/log1p_basic.phpt
+++ b/ext/standard/tests/math/log1p_basic.phpt
@@ -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)
diff --git a/ext/standard/tests/math/log1p_basiclong_64bit.phpt b/ext/standard/tests/math/log1p_basiclong_64bit.phpt
index be6f8aa3a2..760b44b19d 100644
--- a/ext/standard/tests/math/log1p_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/log1p_basiclong_64bit.phpt
@@ -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 ---
diff --git a/ext/standard/tests/math/log_basic.phpt b/ext/standard/tests/math/log_basic.phpt
index 8ff1c88ccf..84e72bb14d 100644
--- a/ext/standard/tests/math/log_basic.phpt
+++ b/ext/standard/tests/math/log_basic.phpt
@@ -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)
diff --git a/ext/standard/tests/math/log_basiclong_64bit.phpt b/ext/standard/tests/math/log_basiclong_64bit.phpt
index c0598fed8b..a26e1ce619 100644
--- a/ext/standard/tests/math/log_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/log_basiclong_64bit.phpt
@@ -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 ---
diff --git a/ext/standard/tests/math/octdec_basiclong_64bit.phpt b/ext/standard/tests/math/octdec_basiclong_64bit.phpt
index 4e9d88def6..06e0dd3929 100644
--- a/ext/standard/tests/math/octdec_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/octdec_basiclong_64bit.phpt
@@ -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 ---
diff --git a/ext/standard/tests/math/pow_basiclong_64bit.phpt b/ext/standard/tests/math/pow_basiclong_64bit.phpt
index d955edfcf3..942a91a2ec 100644
--- a/ext/standard/tests/math/pow_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/pow_basiclong_64bit.phpt
@@ -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 ---
diff --git a/ext/standard/tests/math/pow_variation1.phpt b/ext/standard/tests/math/pow_variation1.phpt
index e005ced560..9c5bd06272 100644
--- a/ext/standard/tests/math/pow_variation1.phpt
+++ b/ext/standard/tests/math/pow_variation1.phpt
@@ -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");
diff --git a/ext/standard/tests/math/pow_variation1_64bit.phpt b/ext/standard/tests/math/pow_variation1_64bit.phpt
index 636c65eabf..c8a9509bb7 100644
--- a/ext/standard/tests/math/pow_variation1_64bit.phpt
+++ b/ext/standard/tests/math/pow_variation1_64bit.phpt
@@ -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)
diff --git a/ext/standard/tests/math/pow_variation2.phpt b/ext/standard/tests/math/pow_variation2.phpt
index ad86e1721e..de17e5fec7 100644
--- a/ext/standard/tests/math/pow_variation2.phpt
+++ b/ext/standard/tests/math/pow_variation2.phpt
@@ -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 )
diff --git a/ext/standard/tests/math/rad2deg_basiclong_64bit.phpt b/ext/standard/tests/math/rad2deg_basiclong_64bit.phpt
index fbde4ab585..a590862db0 100644
--- a/ext/standard/tests/math/rad2deg_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/rad2deg_basiclong_64bit.phpt
@@ -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)
diff --git a/ext/standard/tests/math/rad2deg_variation.phpt b/ext/standard/tests/math/rad2deg_variation.phpt
index 7144f18b61..aa2eb325b6 100644
--- a/ext/standard/tests/math/rad2deg_variation.phpt
+++ b/ext/standard/tests/math/rad2deg_variation.phpt
@@ -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)
diff --git a/ext/standard/tests/math/round_basiclong_64bit.phpt b/ext/standard/tests/math/round_basiclong_64bit.phpt
index ee66684494..c4ff1faf26 100644
--- a/ext/standard/tests/math/round_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/round_basiclong_64bit.phpt
@@ -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)
diff --git a/ext/standard/tests/math/sin_basiclong_64bit.phpt b/ext/standard/tests/math/sin_basiclong_64bit.phpt
index 35775d2f0b..6eddd1aa8b 100644
--- a/ext/standard/tests/math/sin_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/sin_basiclong_64bit.phpt
@@ -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
diff --git a/ext/standard/tests/math/sin_variation.phpt b/ext/standard/tests/math/sin_variation.phpt
index bad70c710d..8d4b1b8670 100644
--- a/ext/standard/tests/math/sin_variation.phpt
+++ b/ext/standard/tests/math/sin_variation.phpt
@@ -1,7 +1,7 @@
--TEST--
Test variations in usage of sin()
--INI--
-precision = 10
+serialize_precision = 10
--FILE--
<?php
/*
diff --git a/ext/standard/tests/math/sinh_variation.phpt b/ext/standard/tests/math/sinh_variation.phpt
index 5b3a79ca78..eb6a0f1cbd 100644
--- a/ext/standard/tests/math/sinh_variation.phpt
+++ b/ext/standard/tests/math/sinh_variation.phpt
@@ -1,7 +1,7 @@
--TEST--
Test variations in usage of sinh()
--INI--
-precision = 10
+serialize_precision = 10
--FILE--
<?php
/*
diff --git a/ext/standard/tests/math/sqrt_basiclong_64bit.phpt b/ext/standard/tests/math/sqrt_basiclong_64bit.phpt
index a20cccad79..e22eaac9be 100644
--- a/ext/standard/tests/math/sqrt_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/sqrt_basiclong_64bit.phpt
@@ -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 ---
diff --git a/ext/standard/tests/math/sqrt_variation.phpt b/ext/standard/tests/math/sqrt_variation.phpt
index 75c460db7a..6166de905c 100644
--- a/ext/standard/tests/math/sqrt_variation.phpt
+++ b/ext/standard/tests/math/sqrt_variation.phpt
@@ -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)
diff --git a/ext/standard/tests/math/tan_basiclong_64bit.phpt b/ext/standard/tests/math/tan_basiclong_64bit.phpt
index 29c057ce69..744185d14b 100644
--- a/ext/standard/tests/math/tan_basiclong_64bit.phpt
+++ b/ext/standard/tests/math/tan_basiclong_64bit.phpt
@@ -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)
diff --git a/ext/standard/tests/math/tan_variation.phpt b/ext/standard/tests/math/tan_variation.phpt
index 1575e24694..6aa57e75ff 100644
--- a/ext/standard/tests/math/tan_variation.phpt
+++ b/ext/standard/tests/math/tan_variation.phpt
@@ -1,7 +1,7 @@
--TEST--
Test variations in usage of tan()
--INI--
-precision = 10
+serialize_precision = 10
--FILE--
<?php
/*
diff --git a/ext/standard/tests/math/tanh_variation.phpt b/ext/standard/tests/math/tanh_variation.phpt
index 502130c5d4..5ea8d8a98f 100644
--- a/ext/standard/tests/math/tanh_variation.phpt
+++ b/ext/standard/tests/math/tanh_variation.phpt
@@ -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)
diff --git a/ext/standard/tests/serialize/003.phpt b/ext/standard/tests/serialize/003.phpt
index cf54f40406..11a6c15e3a 100644
--- a/ext/standard/tests/serialize/003.phpt
+++ b/ext/standard/tests/serialize/003.phpt
@@ -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\)
diff --git a/ext/standard/tests/serialize/serialization_arrays_001.phpt b/ext/standard/tests/serialize/serialization_arrays_001.phpt
index 1e8cf1acf2..93c54787d0 100644
--- a/ext/standard/tests/serialize/serialization_arrays_001.phpt
+++ b/ext/standard/tests/serialize/serialization_arrays_001.phpt
@@ -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]=>
diff --git a/ext/standard/tests/serialize/serialization_miscTypes_001.phpt b/ext/standard/tests/serialize/serialization_miscTypes_001.phpt
index e9215cf561..ed9af46097 100644
--- a/ext/standard/tests/serialize/serialization_miscTypes_001.phpt
+++ b/ext/standard/tests/serialize/serialization_miscTypes_001.phpt
Binary files differ
diff --git a/ext/standard/tests/serialize/serialization_objects_001.phpt b/ext/standard/tests/serialize/serialization_objects_001.phpt
index cb50d5174b..7142a29049 100644
--- a/ext/standard/tests/serialize/serialization_objects_001.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_001.phpt
Binary files differ
diff --git a/ext/standard/tests/serialize/serialization_objects_002.phpt b/ext/standard/tests/serialize/serialization_objects_002.phpt
index 920fd35310..fd71292e89 100644
--- a/ext/standard/tests/serialize/serialization_objects_002.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_002.phpt
Binary files differ
diff --git a/ext/standard/tests/serialize/serialization_objects_003.phpt b/ext/standard/tests/serialize/serialization_objects_003.phpt
index d72c471fae..a13af74e22 100644
--- a/ext/standard/tests/serialize/serialization_objects_003.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_003.phpt
@@ -59,7 +59,7 @@ object(extendName)#%d (3) {
["a"]=>
int(10)
["b"]=>
- float(12.222)
+ float(12.2219999999999995310417943983338773250579833984375)
["c"]=>
string(6) "string"
}
diff --git a/ext/standard/tests/strings/pack_float.phpt b/ext/standard/tests/strings/pack_float.phpt
index b86c599299..11a228d748 100644
--- a/ext/standard/tests/strings/pack_float.phpt
+++ b/ext/standard/tests/strings/pack_float.phpt
@@ -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)
}
diff --git a/ext/standard/tests/strings/similar_text_basic.phpt b/ext/standard/tests/strings/similar_text_basic.phpt
index 20ae4854ce..1a0b30f891 100644
--- a/ext/standard/tests/strings/similar_text_basic.phpt
+++ b/ext/standard/tests/strings/similar_text_basic.phpt
@@ -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)
diff --git a/ext/standard/var.c b/ext/standard/var.c
index 3f7db8faaf..dc133dd5ce 100644
--- a/ext/standard/var.c
+++ b/ext/standard/var.c
@@ -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));
diff --git a/run-tests.php b/run-tests.php
index 85252e644e..ebcaabba02 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -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',
diff --git a/tests/lang/bug24640.phpt b/tests/lang/bug24640.phpt
index 7095fed1fe..a8cb438fca 100644
--- a/tests/lang/bug24640.phpt
+++ b/tests/lang/bug24640.phpt
@@ -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
------
diff --git a/tests/lang/operators/add_basiclong_64bit.phpt b/tests/lang/operators/add_basiclong_64bit.phpt
index 6e09f49eb9..2e7a412243 100644
--- a/tests/lang/operators/add_basiclong_64bit.phpt
+++ b/tests/lang/operators/add_basiclong_64bit.phpt
@@ -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 ---
diff --git a/tests/lang/operators/add_variationStr.phpt b/tests/lang/operators/add_variationStr.phpt
index cea37a0a26..69dd870dcc 100644
--- a/tests/lang/operators/add_variationStr.phpt
+++ b/tests/lang/operators/add_variationStr.phpt
@@ -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' ---
diff --git a/tests/lang/operators/divide_basiclong_64bit.phpt b/tests/lang/operators/divide_basiclong_64bit.phpt
index d8c0e60ded..358d068843 100644
--- a/tests/lang/operators/divide_basiclong_64bit.phpt
+++ b/tests/lang/operators/divide_basiclong_64bit.phpt
@@ -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 ---
diff --git a/tests/lang/operators/divide_variationStr.phpt b/tests/lang/operators/divide_variationStr.phpt
index 3db09e4e95..b3a11591ed 100644
--- a/tests/lang/operators/divide_variationStr.phpt
+++ b/tests/lang/operators/divide_variationStr.phpt
@@ -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' ---
diff --git a/tests/lang/operators/multiply_basiclong_64bit.phpt b/tests/lang/operators/multiply_basiclong_64bit.phpt
index 2fbe530bdc..d57ec28ef1 100644
--- a/tests/lang/operators/multiply_basiclong_64bit.phpt
+++ b/tests/lang/operators/multiply_basiclong_64bit.phpt
@@ -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)
diff --git a/tests/lang/operators/multiply_variationStr.phpt b/tests/lang/operators/multiply_variationStr.phpt
index 8f33aa2f00..a9f73c6bda 100644
--- a/tests/lang/operators/multiply_variationStr.phpt
+++ b/tests/lang/operators/multiply_variationStr.phpt
@@ -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' ---
diff --git a/tests/lang/operators/negate_basiclong_64bit.phpt b/tests/lang/operators/negate_basiclong_64bit.phpt
index 4f60cbbd09..66e7248e0f 100644
--- a/tests/lang/operators/negate_basiclong_64bit.phpt
+++ b/tests/lang/operators/negate_basiclong_64bit.phpt
@@ -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)
diff --git a/tests/lang/operators/postdec_basiclong_64bit.phpt b/tests/lang/operators/postdec_basiclong_64bit.phpt
index 066b7eb2f3..a372739134 100644
--- a/tests/lang/operators/postdec_basiclong_64bit.phpt
+++ b/tests/lang/operators/postdec_basiclong_64bit.phpt
@@ -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)
diff --git a/tests/lang/operators/postdec_variationStr.phpt b/tests/lang/operators/postdec_variationStr.phpt
index 5d7e8c6246..cb452ccba9 100644
--- a/tests/lang/operators/postdec_variationStr.phpt
+++ b/tests/lang/operators/postdec_variationStr.phpt
@@ -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' ---
diff --git a/tests/lang/operators/postinc_basiclong_64bit.phpt b/tests/lang/operators/postinc_basiclong_64bit.phpt
index 78a803de17..8c1446b7ef 100644
--- a/tests/lang/operators/postinc_basiclong_64bit.phpt
+++ b/tests/lang/operators/postinc_basiclong_64bit.phpt
@@ -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)
diff --git a/tests/lang/operators/predec_basiclong_64bit.phpt b/tests/lang/operators/predec_basiclong_64bit.phpt
index 353755b3d4..5e74f71566 100644
--- a/tests/lang/operators/predec_basiclong_64bit.phpt
+++ b/tests/lang/operators/predec_basiclong_64bit.phpt
@@ -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)
diff --git a/tests/lang/operators/predec_variationStr.phpt b/tests/lang/operators/predec_variationStr.phpt
index aa4b2dcc85..ebbb6c9de3 100644
--- a/tests/lang/operators/predec_variationStr.phpt
+++ b/tests/lang/operators/predec_variationStr.phpt
@@ -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' ---
diff --git a/tests/lang/operators/preinc_basiclong_64bit.phpt b/tests/lang/operators/preinc_basiclong_64bit.phpt
index ca562a64f6..ff2190c06f 100644
--- a/tests/lang/operators/preinc_basiclong_64bit.phpt
+++ b/tests/lang/operators/preinc_basiclong_64bit.phpt
@@ -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)
diff --git a/tests/lang/operators/subtract_basiclong_64bit.phpt b/tests/lang/operators/subtract_basiclong_64bit.phpt
index 0685371737..9b7f6111d6 100644
--- a/tests/lang/operators/subtract_basiclong_64bit.phpt
+++ b/tests/lang/operators/subtract_basiclong_64bit.phpt
@@ -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)