]> granicus.if.org Git - php/commitdiff
fixed tests to match the new float precision of 53, as described in bug 47168
authorEyal Teutsch <eyalt@php.net>
Thu, 10 Mar 2011 13:25:19 +0000 (13:25 +0000)
committerEyal Teutsch <eyalt@php.net>
Thu, 10 Mar 2011 13:25:19 +0000 (13:25 +0000)
ext/standard/tests/strings/printf.phpt
ext/standard/tests/strings/sprintf_variation52.phpt

index b2ec7b3a89ea58ef951503483bcf9870d9835858..d989d6a42a62e8a53275b1c3719c1f61e6528669 100755 (executable)
@@ -670,8 +670,8 @@ Array
 
 *** Output for precision value more than maximum ***
 
-Notice: printf(): Requested precision of 988 digits was truncated to PHP maximum of 40 digits in %s on line %d
-12345678900.0000000000000000000000000000000000000000
+Notice: printf(): Requested precision of 988 digits was truncated to PHP maximum of 53 digits in %s on line %d
+12345678900.00000000000000000000000000000000000000000000000000000
 
 *** Output for invalid width(-15) specifier ***
 15s
index 6155c9ec5187ceec910f6a51f53e07cc8eaf9418..996434fef4e3d31fc49540b21faf02de7583da42 100644 (file)
@@ -48,7 +48,7 @@ string(1) "%"
 -- Testing for precision value more than maximum --
 
 Notice: sprintf(): Requested precision of 988 digits was truncated to PHP maximum of %d digits in %s on line %d
-string(52) "12345678900.0000000000000000000000000000000000000000"
+string(65) "12345678900.00000000000000000000000000000000000000000000000000000"
 
 -- Testing for invalid width(-15) specifier --
 string(3) "15s"