Home
last modified time | relevance | path

Searched refs:bcround (Results 1 – 18 of 18) sorted by relevance

/PHP-8.4/ext/bcmath/tests/
H A Dbcround_error.phpt2 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 Dbcround_early_return.phpt2 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 Dbcround_all.phpt2 bcround() function all modes
20 printf("%-20s: %s -> %s\n", $mode->name, $number, bcround($number, 0, $mode));
H A Dbcround_toward_zero.phpt2 bcround() function TowardsZero
H A Dbcround_floor.phpt2 bcround() function NegativeInfinity
H A Dbcround_half_down.phpt2 bcround() function HalfTowardsZero
H A Dbcround_half_even.phpt2 bcround() function HalfEven
H A Dbcround_half_odd.phpt2 bcround() function HalfOdd
H A Dbcround_half_up.phpt2 bcround() function HalfAwayFromZero
H A Dbcround_away_from_zero.phpt2 bcround() function AwayFromZero
H A Dbcround_ceiling.phpt2 bcround() function PositiveInfinity
H A Dbcround_test_helper.inc6 …echo str_pad("[{$num}, {$precision}]", 17, ' ', STR_PAD_LEFT), " => ", bcround($num, $precision, $…
/PHP-8.4/ext/bcmath/tests/number/methods/
H A Dround.phpt24 $func_ret = bcround($number, $scale, $mode);
40 $func_ret = bcround($number, 5, $mode);
/PHP-8.4/ext/bcmath/
H A Dbcmath_arginfo.h139 ZEND_FUNCTION(bcround);
172 ZEND_FE(bcround, arginfo_bcround)
H A Dbcmath.stub.php48 …function bcround(string $num, int $precision = 0, RoundingMode $mode = RoundingMode::HalfAwayFromZ… function
H A Dbcmath.c766 PHP_FUNCTION(bcround) in PHP_FUNCTION() argument
/PHP-8.4/
H A DNEWS186 . [RFC] Add bcfloor, bcceil and bcround to BCMath. (Saki Takamachi)
188 . Adjust bcround()'s $mode parameter to only accept the RoundingMode
H A DUPGRADING767 . Added bcfloor(), bcceil(), bcround().

Completed in 30 milliseconds