Home
last modified time | relevance | path

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

/PHP-8.2/ext/standard/tests/math/
H A Dround_modes.phpt8 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-8.2/ext/standard/
H A Dphp_math.h112 #ifndef PHP_ROUND_HALF_ODD
113 #define PHP_ROUND_HALF_ODD 0x04 macro
H A Dmath.c103 (mode == PHP_ROUND_HALF_ODD && value == (0.5 + 2 * floor(tmp_value/2.0) - 1.0))) in php_round_helper()
111 (mode == PHP_ROUND_HALF_ODD && value == (-0.5 + 2 * ceil(tmp_value/2.0) + 1.0))) in php_round_helper()
H A Dbasic_functions.stub.php344 const PHP_ROUND_HALF_ODD = UNKNOWN; define
H A Dbasic_functions_arginfo.h3567 REGISTER_LONG_CONSTANT("PHP_ROUND_HALF_ODD", PHP_ROUND_HALF_ODD, CONST_PERSISTENT); in register_basic_functions_symbols()

Completed in 25 milliseconds