Searched refs:bcround (Results 1 – 16 of 16) sorted by relevance
/php-src/ext/bcmath/tests/ |
H A D | bcround_error.phpt | 2 bcround() function with error 8 bcround('hoge'); 14 bcround('0.00.1'); 20 bcround(): Argument #1 ($num) is not well-formed 21 bcround(): Argument #1 ($num) is not well-formed
|
H A D | bcround_early_return.phpt | 2 bcround() function with early return 35 …$result = str_pad("[{$num}, {$precision}]", 33, ' ', STR_PAD_LEFT) . ' => ' . bcround($num, $preci… 45 …$result = str_pad("[{$num}, {$precision}]", 33, ' ', STR_PAD_LEFT) . ' => ' . bcround($num, $preci…
|
H A D | bcround_all.phpt | 2 bcround() function all modes 20 printf("%-20s: %s -> %s\n", $mode->name, $number, bcround($number, 0, $mode));
|
H A D | bcround_floor.phpt | 2 bcround() function NegativeInfinity
|
H A D | bcround_toward_zero.phpt | 2 bcround() function TowardsZero
|
H A D | bcround_away_from_zero.phpt | 2 bcround() function AwayFromZero
|
H A D | bcround_ceiling.phpt | 2 bcround() function PositiveInfinity
|
H A D | bcround_half_down.phpt | 2 bcround() function HalfTowardsZero
|
H A D | bcround_half_even.phpt | 2 bcround() function HalfEven
|
H A D | bcround_half_odd.phpt | 2 bcround() function HalfOdd
|
H A D | bcround_half_up.phpt | 2 bcround() function HalfAwayFromZero
|
H A D | bcround_test_helper.inc | 6 …echo str_pad("[{$num}, {$precision}]", 17, ' ', STR_PAD_LEFT), " => ", bcround($num, $precision, $…
|
/php-src/ext/bcmath/tests/number/methods/ |
H A D | round.phpt | 22 $func_ret = bcround($number, 0, $mode); 36 $func_ret = bcround($number, 5, $mode);
|
/php-src/ext/bcmath/ |
H A D | bcmath_arginfo.h | 139 ZEND_FUNCTION(bcround); 172 ZEND_FE(bcround, arginfo_bcround)
|
H A D | bcmath.stub.php | 48 …function bcround(string $num, int $precision = 0, RoundingMode $mode = RoundingMode::HalfAwayFromZ… function
|
H A D | bcmath.c | 763 PHP_FUNCTION(bcround) in PHP_FUNCTION() argument
|
Completed in 17 milliseconds