Home
last modified time | relevance | path

Searched refs:PHP_ROUND_HALF_DOWN (Results 1 – 4 of 4) sorted by relevance

/PHP-5.5/ext/standard/tests/math/
H A Dround_modes.phpt6 var_dump (round (2.5, 0, PHP_ROUND_HALF_DOWN));
10 var_dump (round (-2.5, 0, PHP_ROUND_HALF_DOWN));
14 var_dump (round (3.5, 0, PHP_ROUND_HALF_DOWN));
18 var_dump (round (-3.5, 0, PHP_ROUND_HALF_DOWN));
/PHP-5.5/ext/standard/
H A Dphp_math.h161 #ifndef PHP_ROUND_HALF_DOWN
162 #define PHP_ROUND_HALF_DOWN 0x02 /* Down == towards zero */ macro
H A Dmath.c114 if ((mode == PHP_ROUND_HALF_DOWN && value == (-0.5 + tmp_value)) || in php_round_helper()
122 if ((mode == PHP_ROUND_HALF_DOWN && value == (0.5 + tmp_value)) || in php_round_helper()
H A Dbasic_functions.c3631 REGISTER_LONG_CONSTANT("PHP_ROUND_HALF_DOWN", PHP_ROUND_HALF_DOWN, CONST_CS | CONST_PERSISTENT); in PHP_MINIT_FUNCTION()

Completed in 20 milliseconds