Home
last modified time | relevance | path

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

/PHP-8.0/ext/bcmath/tests/
H A Dstr2num_formatting.phpt11 echo bcadd("1", "2"),"\n";
12 echo bcadd("1.1", "2", 2),"\n";
13 echo bcadd("", "2", 2),"\n";
14 echo bcadd("+0", "2"), "\n";
15 echo bcadd("-0", "2"), "\n";
20 echo bcadd(" 0", "2");
26 echo bcadd("1e1", "2");
32 echo bcadd("1,1", "2");
38 echo bcadd("Hello", "2");
44 echo bcadd("1 1", "2");
[all …]
H A Dbug80545.phpt2 Bug #80545 (bcadd('a', 'a') and bcadd('1', 'a') doesn't throw an exception)
11 bcadd('a', 'a');
17 bcadd('1', 'a');
24 bcadd(): Argument #1 ($num1) is not well-formed
25 bcadd(): Argument #2 ($num2) is not well-formed
H A Dbcadd.phpt2 bcadd() function
9 echo bcadd("1", "2"),"\n";
10 echo bcadd("-1", "5", 4),"\n";
11 echo bcadd("1928372132132819737213", "8728932001983192837219398127471", 2),"\n";
H A Dbcadd_variation001.phpt2 bcadd() with non-integers
9 echo bcadd("2.2", "4.3", "2")."\n";
10 echo bcadd("2.2", "-7.3", "1")."\n";
11 echo bcadd("-4.27", "7.3");
H A Dbcscale.phpt9 echo bcadd("1", "2"),"\n";
11 echo bcadd("1", "2"),"\n";
13 echo bcadd("1", "2"),"\n";
15 echo bcadd("1", "2"),"\n";
H A Dscale.phpt10 'bcadd: ', bcadd('2', '1', 5), PHP_EOL,
19 bcadd: 3.00000
H A Dscale_ini.phpt12 'bcadd: ', bcadd('2', '1'), PHP_EOL,
21 bcadd: 3.00000
H A Dbcscale_variation002.phpt2 bcadd() incorrect argument count
9 echo bcadd("-4.27", "7.3");
H A Dbug46781.phpt9 var_dump(bcadd('-0.0', '-0.0', 1));
H A Dbug78238.phpt9 var_dump(bcadd("0", "-0.1"));
H A Dnegative_scale.phpt10 bcadd('1','2',-1);
61 bcadd(): Argument #3 ($scale) must be between 0 and 2147483647
H A Dbug60377.phpt14 $var414 = bcadd(0,-1,10);
/PHP-8.0/ext/bcmath/
H A Dbcmath_arginfo.h47 ZEND_FUNCTION(bcadd);
60 ZEND_FE(bcadd, arginfo_bcadd)
H A Dbcmath.stub.php5 function bcadd(string $num1, string $num2, ?int $scale = null): string {} function
H A Dbcmath.c153 PHP_FUNCTION(bcadd) in PHP_FUNCTION() argument
/PHP-8.0/
H A DNEWS1056 . Fixed bug #80545 (bcadd('a', 'a') doesn't throw an exception).

Completed in 21 milliseconds