Searched refs:PHP_ROUND_HALF_EVEN (Results 1 – 4 of 4) sorted by relevance
/PHP-7.1/ext/standard/tests/math/ |
H A D | round_modes.phpt | 7 var_dump (round (2.5, 0, PHP_ROUND_HALF_EVEN)); 11 var_dump (round (-2.5, 0, PHP_ROUND_HALF_EVEN)); 15 var_dump (round (3.5, 0, PHP_ROUND_HALF_EVEN)); 19 var_dump (round (-3.5, 0, PHP_ROUND_HALF_EVEN));
|
/PHP-7.1/ext/standard/ |
H A D | php_math.h | 165 #ifndef PHP_ROUND_HALF_EVEN 166 #define PHP_ROUND_HALF_EVEN 0x03 /* Banker's rounding */ macro
|
H A D | math.c | 104 (mode == PHP_ROUND_HALF_EVEN && value == (0.5 + 2 * floor(tmp_value/2.0))) || in php_round_helper() 112 (mode == PHP_ROUND_HALF_EVEN && value == (-0.5 + 2 * ceil(tmp_value/2.0))) || in php_round_helper()
|
H A D | basic_functions.c | 3652 REGISTER_LONG_CONSTANT("PHP_ROUND_HALF_EVEN", PHP_ROUND_HALF_EVEN, CONST_CS | CONST_PERSISTENT); in PHP_MINIT_FUNCTION()
|
Completed in 30 milliseconds