summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-12-30 11:45:32 +0000
committerMarcus Boerger <helly@php.net>2005-12-30 11:45:32 +0000
commit66ae043208768fabfdaa0b28e47ca6a791192d39 (patch)
treee5f665da967f2750c8b5f80f4cc6696aca4c8060
parente45ec1e460c8151dcdec336e98bb259e343095ce (diff)
downloadphp-git-66ae043208768fabfdaa0b28e47ca6a791192d39.tar.gz
- MF51
-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===