Searched refs:PHP_ROUND_HALF_ODD (Results 1 – 14 of 14) sorted by relevance
/php-src/ext/standard/tests/math/ |
H A D | round_gh12143_optimize_round.phpt | 33 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 D | round_gh12143_1.phpt | 13 'PHP_ROUND_HALF_ODD', 23 PHP_ROUND_HALF_ODD : +0.49999999999999994 -> +0 27 PHP_ROUND_HALF_ODD : -0.49999999999999994 -> -0
|
H A D | round_gh12143_2.phpt | 13 'PHP_ROUND_HALF_ODD', 23 PHP_ROUND_HALF_ODD : +0.50000000000000011 -> +1 27 PHP_ROUND_HALF_ODD : -0.50000000000000011 -> -1
|
H A D | round_gh12143_3.phpt | 13 'PHP_ROUND_HALF_ODD', 23 PHP_ROUND_HALF_ODD : +0.5 -> +1 27 PHP_ROUND_HALF_ODD : -0.5 -> -1
|
H A D | round_gh12143_4.phpt | 13 'PHP_ROUND_HALF_ODD', 23 PHP_ROUND_HALF_ODD : +1.5 -> +1 27 PHP_ROUND_HALF_ODD : -1.5 -> -1
|
H A D | round_modes.phpt | 9 "PHP_ROUND_HALF_ODD" => PHP_ROUND_HALF_ODD, 357 mode: PHP_ROUND_HALF_ODD
|
H A D | round_modes_zeros.phpt | 9 "PHP_ROUND_HALF_ODD" => PHP_ROUND_HALF_ODD, 107 mode: PHP_ROUND_HALF_ODD
|
H A D | round_gh12143_expand_rounding_target.phpt | 33 'PHP_ROUND_HALF_ODD' => [ 108 ========== PHP_ROUND_HALF_ODD ==========
|
/php-src/ext/standard/ |
H A D | php_math_round_mode.h | 33 #ifndef PHP_ROUND_HALF_ODD 34 #define PHP_ROUND_HALF_ODD 0x04 macro
|
H A D | math.c | 141 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 D | basic_functions.stub.php | 377 const PHP_ROUND_HALF_ODD = UNKNOWN; define
|
H A D | basic_functions_arginfo.h | 3581 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 D | round.c | 85 case PHP_ROUND_HALF_ODD: in bc_round() 150 case PHP_ROUND_HALF_ODD: in bc_round()
|
/php-src/ext/bcmath/ |
H A D | bcmath.c | 789 case PHP_ROUND_HALF_ODD: in PHP_FUNCTION() 1788 case PHP_ROUND_HALF_ODD: in PHP_METHOD()
|
Completed in 57 milliseconds