Home
last modified time | relevance | path

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

/php-src/ext/standard/tests/math/
H A Dround_gh12143_optimize_round.phpt33 var_dump(round(1.70000000000025, 13, PHP_ROUND_HALF_ODD));
34 var_dump(round(-1.70000000000025, 13, PHP_ROUND_HALF_ODD));
35 var_dump(round(1.70000000000075, 13, PHP_ROUND_HALF_ODD));
36 var_dump(round(-1.70000000000075, 13, PHP_ROUND_HALF_ODD));
37 var_dump(round(12345678901233.5, 0, PHP_ROUND_HALF_ODD));
38 var_dump(round(-12345678901233.5, 0, PHP_ROUND_HALF_ODD));
39 var_dump(round(1.500000000000001, 0, PHP_ROUND_HALF_ODD));
40 var_dump(round(-1.500000000000001, 0, PHP_ROUND_HALF_ODD));
H A Dround_gh12143_1.phpt13 'PHP_ROUND_HALF_ODD',
23 PHP_ROUND_HALF_ODD : +0.49999999999999994 -> +0
27 PHP_ROUND_HALF_ODD : -0.49999999999999994 -> -0
H A Dround_gh12143_2.phpt13 'PHP_ROUND_HALF_ODD',
23 PHP_ROUND_HALF_ODD : +0.50000000000000011 -> +1
27 PHP_ROUND_HALF_ODD : -0.50000000000000011 -> -1
H A Dround_gh12143_3.phpt13 'PHP_ROUND_HALF_ODD',
23 PHP_ROUND_HALF_ODD : +0.5 -> +1
27 PHP_ROUND_HALF_ODD : -0.5 -> -1
H A Dround_gh12143_4.phpt13 'PHP_ROUND_HALF_ODD',
23 PHP_ROUND_HALF_ODD : +1.5 -> +1
27 PHP_ROUND_HALF_ODD : -1.5 -> -1
H A Dround_modes.phpt9 "PHP_ROUND_HALF_ODD" => PHP_ROUND_HALF_ODD,
357 mode: PHP_ROUND_HALF_ODD
H A Dround_modes_zeros.phpt9 "PHP_ROUND_HALF_ODD" => PHP_ROUND_HALF_ODD,
107 mode: PHP_ROUND_HALF_ODD
H A Dround_gh12143_expand_rounding_target.phpt33 'PHP_ROUND_HALF_ODD' => [
108 ========== PHP_ROUND_HALF_ODD ==========
/php-src/ext/standard/
H A Dphp_math_round_mode.h33 #ifndef PHP_ROUND_HALF_ODD
34 #define PHP_ROUND_HALF_ODD 0x04 macro
H A Dmath.c141 case PHP_ROUND_HALF_ODD: in php_round_helper()
320 return PHP_ROUND_HALF_ODD; in php_math_round_mode_from_enum()
365 case PHP_ROUND_HALF_ODD: in PHP_FUNCTION()
H A Dbasic_functions.stub.php377 const PHP_ROUND_HALF_ODD = UNKNOWN; define
H A Dbasic_functions_arginfo.h3581 REGISTER_LONG_CONSTANT("PHP_ROUND_HALF_ODD", PHP_ROUND_HALF_ODD, CONST_PERSISTENT); in register_basic_functions_symbols()
/php-src/ext/bcmath/libbcmath/src/
H A Dround.c85 case PHP_ROUND_HALF_ODD: in bc_round()
150 case PHP_ROUND_HALF_ODD: in bc_round()
/php-src/ext/bcmath/
H A Dbcmath.c789 case PHP_ROUND_HALF_ODD: in PHP_FUNCTION()
1788 case PHP_ROUND_HALF_ODD: in PHP_METHOD()

Completed in 39 milliseconds