increase epsilon comparing floats in pdo_ae_output_param_floats.phpt

This commit is contained in:
v-kaywon 2018-03-15 16:11:35 -07:00
parent e55d3c8eed
commit 6a96ef482e

View file

@ -25,7 +25,7 @@ $pdoParamTypes = array(
// this function returns true if the floats are more different than expected
function compareFloats($actual, $expected)
{
$epsilon = 0.00001;
$epsilon = 0.0001;
$diff = abs(($actual - $expected) / $expected);
return ($diff > $epsilon);
}