Home
last modified time | relevance | path

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

/PHP-8.2/ext/standard/tests/math/
H A Dround_modes.phpt7 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-8.2/ext/standard/
H A Dphp_math.h108 #ifndef PHP_ROUND_HALF_EVEN
109 #define PHP_ROUND_HALF_EVEN 0x03 /* Banker's rounding */ macro
H A Dmath.c102 (mode == PHP_ROUND_HALF_EVEN && value == (0.5 + 2 * floor(tmp_value/2.0))) || in php_round_helper()
110 (mode == PHP_ROUND_HALF_EVEN && value == (-0.5 + 2 * ceil(tmp_value/2.0))) || in php_round_helper()
H A Dbasic_functions.stub.php339 const PHP_ROUND_HALF_EVEN = UNKNOWN; define
H A Dbasic_functions_arginfo.h3566 REGISTER_LONG_CONSTANT("PHP_ROUND_HALF_EVEN", PHP_ROUND_HALF_EVEN, CONST_PERSISTENT); in register_basic_functions_symbols()

Completed in 22 milliseconds