Lines Matching refs:round
2 round() works correctly for large exponents
5 var_dump (2e-22 == round (2e-22, 22, PHP_ROUND_HALF_UP));
6 var_dump (1e-22 == round (1e-22, 22, PHP_ROUND_HALF_UP));
7 var_dump (2e-23 == round (2e-23, 23, PHP_ROUND_HALF_UP));
8 var_dump (1e-23 == round (1e-23, 23, PHP_ROUND_HALF_UP));
9 var_dump (2e-24 == round (2e-24, 24, PHP_ROUND_HALF_UP));
10 var_dump (1e-24 == round (1e-24, 24, PHP_ROUND_HALF_UP));
11 var_dump (2e22 == round (2e22, -22, PHP_ROUND_HALF_UP));
12 var_dump (1e22 == round (1e22, -22, PHP_ROUND_HALF_UP));
13 var_dump (2e23 == round (2e23, -23, PHP_ROUND_HALF_UP));
14 var_dump (1e23 == round (1e23, -23, PHP_ROUND_HALF_UP));
15 var_dump (2e24 == round (2e24, -24, PHP_ROUND_HALF_UP));
16 var_dump (1e24 == round (1e24, -24, PHP_ROUND_HALF_UP));