Home
last modified time | relevance | path

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

/PHP-8.2/ext/bcmath/tests/
H A Dbcsub.phpt2 bcsub() function
9 echo bcsub("1", "2"),"\n";
10 echo bcsub("-1", "5", 4),"\n";
11 echo bcsub("1.555", "2.555", 2),"\n";
12 echo bcsub("8728932001983192837219398127471", "1928372132132819737213", 2),"\n";
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 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-8.2/ext/bcmath/
H A Dbcmath_arginfo.h48 ZEND_FUNCTION(bcsub);
61 ZEND_FE(bcsub, arginfo_bcsub)
H A Dbcmath.stub.php9 function bcsub(string $num1, string $num2, ?int $scale = null): string {} function
H A Dbcmath.c204 PHP_FUNCTION(bcsub) in PHP_FUNCTION() argument

Completed in 8 milliseconds