Searched refs:PHP_ROUND_HALF_ODD (Results 1 – 4 of 4) sorted by relevance
/PHP-5.6/ext/standard/tests/math/ |
H A D | round_modes.phpt | 8 var_dump (round (2.5, 0, PHP_ROUND_HALF_ODD)); 12 var_dump (round (-2.5, 0, PHP_ROUND_HALF_ODD)); 16 var_dump (round (3.5, 0, PHP_ROUND_HALF_ODD)); 20 var_dump (round (-3.5, 0, PHP_ROUND_HALF_ODD));
|
/PHP-5.6/ext/standard/ |
H A D | php_math.h | 169 #ifndef PHP_ROUND_HALF_ODD 170 #define PHP_ROUND_HALF_ODD 0x04 macro
|
H A D | math.c | 116 (mode == PHP_ROUND_HALF_ODD && value == (0.5 + 2 * floor(tmp_value/2.0) - 1.0))) in php_round_helper() 124 (mode == PHP_ROUND_HALF_ODD && value == (-0.5 + 2 * ceil(tmp_value/2.0) + 1.0))) in php_round_helper()
|
H A D | basic_functions.c | 3607 REGISTER_LONG_CONSTANT("PHP_ROUND_HALF_ODD", PHP_ROUND_HALF_ODD, CONST_CS | CONST_PERSISTENT); in PHP_MINIT_FUNCTION()
|
Completed in 16 milliseconds