Home
last modified time | relevance | path

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

/php-src/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
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 Dbcround_all.phpt2 bcround() function all modes
20 printf("%-20s: %s -> %s\n", $mode->name, $number, bcround($number, 0, $mode));
H A Dbcround_floor.phpt2 bcround() function NegativeInfinity
H A Dbcround_toward_zero.phpt2 bcround() function TowardsZero
H A Dbcround_away_from_zero.phpt2 bcround() function AwayFromZero
H A Dbcround_ceiling.phpt2 bcround() function PositiveInfinity
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_test_helper.inc6 …echo str_pad("[{$num}, {$precision}]", 17, ' ', STR_PAD_LEFT), " => ", bcround($num, $precision, $…
/php-src/ext/bcmath/tests/number/methods/
H A Dround.phpt22 $func_ret = bcround($number, 0, $mode);
36 $func_ret = bcround($number, 5, $mode);
/php-src/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.c763 PHP_FUNCTION(bcround) in PHP_FUNCTION() argument

Completed in 17 milliseconds