php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay

| files >> /proc/self/root/proc/self/root/opt/php-7.0.1/ext/standard/tests/math/ |
| files >> //proc/self/root/proc/self/root/opt/php-7.0.1/ext/standard/tests/math/allowed_rounding_error.inc |
<?php
function allowed_rounding_error ($number, $expected) {
//different machines may give slightly different floating point numbers
//This assumes that the results will be the same to + or - 1.0E-10.
$small_number = 1.0e-10;
$min = $expected - $small_number;
$max = $expected + $small_number;
if ($number < $max && $number > $min ) {
return true;
}
else {
return false;
}
}
?>
y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`