Home
last modified time | relevance | path

Searched refs:bcsub (Results 1 – 12 of 12) sorted by relevance

/php-src/ext/bcmath/tests/
H A Dbcsub_error.phpt2 bcsub() requires well-formed values
9 bcsub('a', '1');
15 bcsub('1', 'a');
22 bcsub(): Argument #1 ($num1) is not well-formed
23 bcsub(): Argument #2 ($num2) is not well-formed
H A Dscale.phpt14 'bcsub: ', bcsub('2', '1', 5), PHP_EOL;
23 bcsub: 1.00000
H A Dscale_ini.phpt16 'bcsub: ', bcsub('2', '1'), PHP_EOL;
25 bcsub: 1.00000
H A Dbcsub_zero.phpt2 bcsub() function with number zero
29 run_bcmath_tests($minuends, $subtrahends, "-", bcsub(...));
H A Dbcsub_large_numbers.phpt2 bcsub() function with large numbers
34 run_bcmath_tests($minuends, $subtrahends, "-", bcsub(...));
H A Dbcsub.phpt2 bcsub() function
25 run_bcmath_tests($minuends, $subtrahends, "-", bcsub(...));
H A Dnegative_scale.phpt15 bcsub('1','2',-1);
62 bcsub(): Argument #3 ($scale) must be between 0 and 2147483647
H A Dstr2num_formatting.phpt4 1 and 2 argument of bcadd/bcsub/bcmul/bcdiv/bcmod/bcpowmod/bcpow/bccomp (last one works different t…
/php-src/ext/bcmath/tests/number/methods/
H A Dsub_with_scale.phpt29 $func_ret = bcsub($value1, (string) $value2, $scale);
/php-src/ext/bcmath/
H A Dbcmath_arginfo.h127 ZEND_FUNCTION(bcsub);
160 ZEND_FE(bcsub, arginfo_bcsub)
H A Dbcmath.stub.php11 function bcsub(string $num1, string $num2, ?int $scale = null): string {} function
H A Dbcmath.c232 PHP_FUNCTION(bcsub) in PHP_FUNCTION() argument

Completed in 17 milliseconds