summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/lang/bug24640.phpt64
1 files changed, 64 insertions, 0 deletions
diff --git a/tests/lang/bug24640.phpt b/tests/lang/bug24640.phpt
index 3cd3c4a595..118e0c21f7 100755
--- a/tests/lang/bug24640.phpt
+++ b/tests/lang/bug24640.phpt
@@ -19,7 +19,20 @@ test(1.7e+80);
test(1.7e-80);
test(1.7e+81);
test(1.7e-81);
+test(1.7e+319);
+test(1.7e-319);
+test(1.7e+320);
+test(1.7e-320);
+test(1.7e+321);
+test(1.7e-321);
+test(1.7e+324);
+test(1.7e-324);
+test(1.7e+1000);
+test(1.7e-1000);
+
?>
+===DONE===
+<?php exit(0); ?>
--EXPECT--
1.7E+300
float(1.7E+300)
@@ -61,3 +74,54 @@ float(1.7E-81)
1.7E-81
1.7E-81
------
+INF
+float(INF)
+INF
+INF
+------
+1.69998107421E-319
+float(1.69998107421E-319)
+1.69998107421E-319
+1.69998107421E-319
+------
+INF
+float(INF)
+INF
+INF
+------
+1.70007988734E-320
+float(1.70007988734E-320)
+1.70007988734E-320
+1.70007988734E-320
+------
+INF
+float(INF)
+INF
+INF
+------
+1.69958582169E-321
+float(1.69958582169E-321)
+1.69958582169E-321
+1.69958582169E-321
+------
+INF
+float(INF)
+INF
+INF
+------
+0
+float(0)
+0
+0
+------
+INF
+float(INF)
+INF
+INF
+------
+0
+float(0)
+0
+0
+------
+===DONE===