summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2013-10-29 17:30:58 +0900
committerYasuo Ohgaki <yohgaki@php.net>2013-10-29 17:30:58 +0900
commit3cf2682083fc1c8635b02c4cf77bdf12c5e5da35 (patch)
tree6a697ff878ba13cd5619afa50aceb543c28282f7 /tests
parent5c89d5a539054bb27451646d43cd644c28fc650d (diff)
parent4c45e95cfe064d76f0aedbee991ae1b217bb9990 (diff)
downloadphp-git-3cf2682083fc1c8635b02c4cf77bdf12c5e5da35.tar.gz
Merge branch 'PHP-5.5'
* PHP-5.5: Fixed Bug 64760 var_export() does not use full precision for floating-point numbers
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/bug24640.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/lang/bug24640.phpt b/tests/lang/bug24640.phpt
index 919b38e29e..e41d0201b7 100644
--- a/tests/lang/bug24640.phpt
+++ b/tests/lang/bug24640.phpt
@@ -36,22 +36,22 @@ test(1.7e-1000);
===DONE===
<?php exit(0); ?>
--EXPECTF--
-1.7E+300
+1.7000000000000001E+300
float(1.7E+300)
1.7E+300
1.7E+300
------
-1.7E-300
+1.7000000000000001E-300
float(1.7E-300)
1.7E-300
1.7E-300
------
-1.7E+79
+1.7000000000000002E+79
float(1.7E+79)
1.7E+79
1.7E+79
------
-1.7E-79
+1.6999999999999999E-79
float(1.7E-79)
1.7E-79
1.7E-79
@@ -71,7 +71,7 @@ float(1.7E+81)
1.7E+81
1.7E+81
------
-1.7E-81
+1.6999999999999999E-81
float(1.7E-81)
1.7E-81
1.7E-81
@@ -81,7 +81,7 @@ float(I%s)
I%s
I%s
------
-1.69998107421E-319
+1.6999810742105611E-319
float(1.69998107421E-319)
1.69998107421E-319
1.69998107421E-319
@@ -91,7 +91,7 @@ float(I%s)
I%s
I%s
------
-1.70007988734E-320
+1.7000798873397294E-320
float(1.70007988734E-320)
1.70007988734E-320
1.70007988734E-320
@@ -101,7 +101,7 @@ float(I%s)
I%s
I%s
------
-1.69958582169E-321
+1.6995858216938881E-321
float(1.69958582169E-321)
1.69958582169E-321
1.69958582169E-321