Home
last modified time | relevance | path

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

/PHP-8.2/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-8.2/ext/standard/
H A Dphp_math.h104 #ifndef PHP_ROUND_HALF_DOWN
105 #define PHP_ROUND_HALF_DOWN 0x02 /* Down == towards zero */ macro
H A Dmath.c101 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 Dbasic_functions.stub.php334 const PHP_ROUND_HALF_DOWN = UNKNOWN; define
H A Dbasic_functions_arginfo.h3565 REGISTER_LONG_CONSTANT("PHP_ROUND_HALF_DOWN", PHP_ROUND_HALF_DOWN, CONST_PERSISTENT); in register_basic_functions_symbols()

Completed in 29 milliseconds