From: Timm Friebe Date: Sat, 8 Nov 2008 14:24:55 +0000 (+0000) Subject: - Adjusted tests to reality X-Git-Tag: php-5.2.7RC4~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=839b81668c3eb36a877d97c4f2a40a4eb968ec7e;p=php - Adjusted tests to reality # We select 123456789.12345679, we should have this returned and not # something 123456789.123457 (rounded) --- diff --git a/ext/sybase_ct/tests/bug29064.phpt b/ext/sybase_ct/tests/bug29064.phpt index 902fe43358..df13d28a1d 100644 --- a/ext/sybase_ct/tests/bug29064.phpt +++ b/ext/sybase_ct/tests/bug29064.phpt @@ -112,9 +112,9 @@ array(2) { ["test_tinyint"]=> int(123) ["test_real"]=> - string(16) "123456789.123457" + string(18) "123456789.12345679" ["test_double"]=> - string(16) "123456789.123457" + string(18) "123456789.12345679" } [1]=> array(10) { @@ -135,9 +135,9 @@ array(2) { ["test_tinyint"]=> int(255) ["test_real"]=> - string(17) "-123456789.123457" + string(19) "-123456789.12345679" ["test_double"]=> - string(17) "-123456789.123457" + string(19) "-123456789.12345679" } } bool(true)