Searched refs:bcround (Results 1 – 18 of 18) sorted by relevance
/PHP-8.4/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 31 …$result = str_pad("[{$num}, {$precision}]", 33, ' ', STR_PAD_LEFT) . ' => ' . bcround($num, $preci… 41 …$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_toward_zero.phpt | 2 bcround() function TowardsZero
|
H A D | bcround_floor.phpt | 2 bcround() function NegativeInfinity
|
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_away_from_zero.phpt | 2 bcround() function AwayFromZero
|
H A D | bcround_ceiling.phpt | 2 bcround() function PositiveInfinity
|
H A D | bcround_test_helper.inc | 6 …echo str_pad("[{$num}, {$precision}]", 17, ' ', STR_PAD_LEFT), " => ", bcround($num, $precision, $…
|
/PHP-8.4/ext/bcmath/tests/number/methods/ |
H A D | round.phpt | 24 $func_ret = bcround($number, $scale, $mode); 40 $func_ret = bcround($number, 5, $mode);
|
/PHP-8.4/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 | 766 PHP_FUNCTION(bcround) in PHP_FUNCTION() argument
|
/PHP-8.4/ |
H A D | NEWS | 186 . [RFC] Add bcfloor, bcceil and bcround to BCMath. (Saki Takamachi) 188 . Adjust bcround()'s $mode parameter to only accept the RoundingMode
|
H A D | UPGRADING | 767 . Added bcfloor(), bcceil(), bcround().
|
Completed in 30 milliseconds