Searched refs:PHP_ROUND_HALF_DOWN (Results 1 – 14 of 14) sorted by relevance
/php-src/ext/standard/tests/math/ |
H A D | round_gh12143_optimize_round.phpt | 13 var_dump(round(1.70000000000015, 13, PHP_ROUND_HALF_DOWN)); 14 var_dump(round(-1.70000000000015, 13, PHP_ROUND_HALF_DOWN)); 15 var_dump(round(123456789012345.0, -1, PHP_ROUND_HALF_DOWN)); 16 var_dump(round(-123456789012345.0, -1, PHP_ROUND_HALF_DOWN)); 17 var_dump(round(1.500000000000001, 0, PHP_ROUND_HALF_DOWN)); 18 var_dump(round(-1.500000000000001, 0, PHP_ROUND_HALF_DOWN));
|
H A D | round_gh12143_1.phpt | 11 'PHP_ROUND_HALF_DOWN', 21 PHP_ROUND_HALF_DOWN : +0.49999999999999994 -> +0 25 PHP_ROUND_HALF_DOWN : -0.49999999999999994 -> -0
|
H A D | round_gh12143_2.phpt | 11 'PHP_ROUND_HALF_DOWN', 21 PHP_ROUND_HALF_DOWN : +0.50000000000000011 -> +1 25 PHP_ROUND_HALF_DOWN : -0.50000000000000011 -> -1
|
H A D | round_gh12143_3.phpt | 11 'PHP_ROUND_HALF_DOWN', 21 PHP_ROUND_HALF_DOWN : +0.5 -> +0 25 PHP_ROUND_HALF_DOWN : -0.5 -> -0
|
H A D | round_gh12143_4.phpt | 11 'PHP_ROUND_HALF_DOWN', 21 PHP_ROUND_HALF_DOWN : +1.5 -> +1 25 PHP_ROUND_HALF_DOWN : -1.5 -> -1
|
H A D | round_modes.phpt | 7 "PHP_ROUND_HALF_DOWN" => PHP_ROUND_HALF_DOWN, 155 mode: PHP_ROUND_HALF_DOWN
|
H A D | round_modes_zeros.phpt | 7 "PHP_ROUND_HALF_DOWN" => PHP_ROUND_HALF_DOWN, 57 mode: PHP_ROUND_HALF_DOWN
|
H A D | round_gh12143_expand_rounding_target.phpt | 17 'PHP_ROUND_HALF_DOWN' => [ 92 ========== PHP_ROUND_HALF_DOWN ==========
|
/php-src/ext/standard/ |
H A D | php_math_round_mode.h | 25 #ifndef PHP_ROUND_HALF_DOWN 26 #define PHP_ROUND_HALF_DOWN 0x02 /* Arithmetic rounding, down == towards zero */ macro
|
H A D | math.c | 89 case PHP_ROUND_HALF_DOWN: in php_round_helper() 316 return PHP_ROUND_HALF_DOWN; in php_math_round_mode_from_enum() 363 case PHP_ROUND_HALF_DOWN: in PHP_FUNCTION()
|
H A D | basic_functions.stub.php | 367 const PHP_ROUND_HALF_DOWN = UNKNOWN; define
|
H A D | basic_functions_arginfo.h | 3579 REGISTER_LONG_CONSTANT("PHP_ROUND_HALF_DOWN", PHP_ROUND_HALF_DOWN, CONST_PERSISTENT); in register_basic_functions_symbols()
|
/php-src/ext/bcmath/libbcmath/src/ |
H A D | round.c | 83 case PHP_ROUND_HALF_DOWN: in bc_round() 138 case PHP_ROUND_HALF_DOWN: in bc_round()
|
/php-src/ext/bcmath/ |
H A D | bcmath.c | 787 case PHP_ROUND_HALF_DOWN: in PHP_FUNCTION() 1786 case PHP_ROUND_HALF_DOWN: in PHP_METHOD()
|
Completed in 38 milliseconds