Searched refs:PHP_ROUND_HALF_EVEN (Results 1 – 14 of 14) sorted by relevance
/php-src/ext/standard/tests/math/ |
H A D | round_gh12143_optimize_round.phpt | 22 var_dump(round(1.70000000000025, 13, PHP_ROUND_HALF_EVEN)); 23 var_dump(round(-1.70000000000025, 13, PHP_ROUND_HALF_EVEN)); 24 var_dump(round(1.70000000000075, 13, PHP_ROUND_HALF_EVEN)); 25 var_dump(round(-1.70000000000075, 13, PHP_ROUND_HALF_EVEN)); 26 var_dump(round(12345678901234.5, 0, PHP_ROUND_HALF_EVEN)); 27 var_dump(round(-12345678901234.5, 0, PHP_ROUND_HALF_EVEN)); 28 var_dump(round(1.500000000000001, 0, PHP_ROUND_HALF_EVEN)); 29 var_dump(round(-1.500000000000001, 0, PHP_ROUND_HALF_EVEN));
|
H A D | round_gh12143_1.phpt | 12 'PHP_ROUND_HALF_EVEN', 22 PHP_ROUND_HALF_EVEN : +0.49999999999999994 -> +0 26 PHP_ROUND_HALF_EVEN : -0.49999999999999994 -> -0
|
H A D | round_gh12143_2.phpt | 12 'PHP_ROUND_HALF_EVEN', 22 PHP_ROUND_HALF_EVEN : +0.50000000000000011 -> +1 26 PHP_ROUND_HALF_EVEN : -0.50000000000000011 -> -1
|
H A D | round_gh12143_3.phpt | 12 'PHP_ROUND_HALF_EVEN', 22 PHP_ROUND_HALF_EVEN : +0.5 -> +0 26 PHP_ROUND_HALF_EVEN : -0.5 -> -0
|
H A D | round_gh12143_4.phpt | 12 'PHP_ROUND_HALF_EVEN', 22 PHP_ROUND_HALF_EVEN : +1.5 -> +2 26 PHP_ROUND_HALF_EVEN : -1.5 -> -2
|
H A D | round_modes.phpt | 8 "PHP_ROUND_HALF_EVEN" => PHP_ROUND_HALF_EVEN, 256 mode: PHP_ROUND_HALF_EVEN
|
H A D | round_modes_zeros.phpt | 8 "PHP_ROUND_HALF_EVEN" => PHP_ROUND_HALF_EVEN, 82 mode: PHP_ROUND_HALF_EVEN
|
H A D | round_gh12143_expand_rounding_target.phpt | 25 'PHP_ROUND_HALF_EVEN' => [ 100 ========== PHP_ROUND_HALF_EVEN ==========
|
/php-src/ext/standard/ |
H A D | php_math_round_mode.h | 29 #ifndef PHP_ROUND_HALF_EVEN 30 #define PHP_ROUND_HALF_EVEN 0x03 /* Banker's rounding */ macro
|
H A D | math.c | 124 case PHP_ROUND_HALF_EVEN: in php_round_helper() 318 return PHP_ROUND_HALF_EVEN; in php_math_round_mode_from_enum() 364 case PHP_ROUND_HALF_EVEN: in PHP_FUNCTION()
|
H A D | basic_functions.stub.php | 372 const PHP_ROUND_HALF_EVEN = UNKNOWN; define
|
H A D | basic_functions_arginfo.h | 3580 REGISTER_LONG_CONSTANT("PHP_ROUND_HALF_EVEN", PHP_ROUND_HALF_EVEN, CONST_PERSISTENT); in register_basic_functions_symbols()
|
/php-src/ext/bcmath/libbcmath/src/ |
H A D | round.c | 84 case PHP_ROUND_HALF_EVEN: in bc_round() 144 case PHP_ROUND_HALF_EVEN: in bc_round()
|
/php-src/ext/bcmath/ |
H A D | bcmath.c | 788 case PHP_ROUND_HALF_EVEN: in PHP_FUNCTION() 1787 case PHP_ROUND_HALF_EVEN: in PHP_METHOD()
|
Completed in 34 milliseconds