Searched refs:PHP_ROUND_HALF_DOWN (Results 1 – 4 of 4) sorted by relevance
/PHP-8.1/ext/standard/tests/math/ |
H A D | round_modes.phpt | 6 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-8.1/ext/standard/ |
H A D | php_math.h | 104 #ifndef PHP_ROUND_HALF_DOWN 105 #define PHP_ROUND_HALF_DOWN 0x02 /* Down == towards zero */ macro
|
H A D | math.c | 101 if ((mode == PHP_ROUND_HALF_DOWN && value == (-0.5 + tmp_value)) || in php_round_helper() 109 if ((mode == PHP_ROUND_HALF_DOWN && value == (0.5 + tmp_value)) || in php_round_helper()
|
H A D | basic_functions.c | 348 REGISTER_LONG_CONSTANT("PHP_ROUND_HALF_DOWN", PHP_ROUND_HALF_DOWN, CONST_CS | CONST_PERSISTENT); in PHP_MINIT_FUNCTION()
|
Completed in 16 milliseconds