Lines Matching refs:round
2 Fix GH-12143: Optimize round
6 var_dump(round(1.700000000000145, 13, PHP_ROUND_HALF_UP));
7 var_dump(round(-1.700000000000145, 13, PHP_ROUND_HALF_UP));
8 var_dump(round(123456789012344.5, -1, PHP_ROUND_HALF_UP));
9 var_dump(round(-123456789012344.5, -1, PHP_ROUND_HALF_UP));
13 var_dump(round(1.70000000000015, 13, PHP_ROUND_HALF_DOWN));
14 var_dump(round(-1.70000000000015, 13, PHP_ROUND_HALF_DOWN));
15 var_dump(round(123456789012345.0, -1, PHP_ROUND_HALF_DOWN));
16 var_dump(round(-123456789012345.0, -1, PHP_ROUND_HALF_DOWN));
17 var_dump(round(1.500000000000001, 0, PHP_ROUND_HALF_DOWN));
18 var_dump(round(-1.500000000000001, 0, PHP_ROUND_HALF_DOWN));
22 var_dump(round(1.70000000000025, 13, PHP_ROUND_HALF_EVEN));
23 var_dump(round(-1.70000000000025, 13, PHP_ROUND_HALF_EVEN));
24 var_dump(round(1.70000000000075, 13, PHP_ROUND_HALF_EVEN));
25 var_dump(round(-1.70000000000075, 13, PHP_ROUND_HALF_EVEN));
26 var_dump(round(12345678901234.5, 0, PHP_ROUND_HALF_EVEN));
27 var_dump(round(-12345678901234.5, 0, PHP_ROUND_HALF_EVEN));
28 var_dump(round(1.500000000000001, 0, PHP_ROUND_HALF_EVEN));
29 var_dump(round(-1.500000000000001, 0, PHP_ROUND_HALF_EVEN));
33 var_dump(round(1.70000000000025, 13, PHP_ROUND_HALF_ODD));
34 var_dump(round(-1.70000000000025, 13, PHP_ROUND_HALF_ODD));
35 var_dump(round(1.70000000000075, 13, PHP_ROUND_HALF_ODD));
36 var_dump(round(-1.70000000000075, 13, PHP_ROUND_HALF_ODD));
37 var_dump(round(12345678901233.5, 0, PHP_ROUND_HALF_ODD));
38 var_dump(round(-12345678901233.5, 0, PHP_ROUND_HALF_ODD));
39 var_dump(round(1.500000000000001, 0, PHP_ROUND_HALF_ODD));
40 var_dump(round(-1.500000000000001, 0, PHP_ROUND_HALF_ODD));