Home
last modified time | relevance | path

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

/PHP-8.2/ext/bcmath/tests/
H A Dbcadd_variation001.phpt2 bcadd() with non-integers
9 echo bcadd("2.2", "4.3", "2")."\n";
10 echo bcadd("2.2", "4.3", 2)."\n";
11 echo bcadd("2.2", "-7.3", "1")."\n";
12 echo bcadd("2.2", "-7.3", 1)."\n";
13 echo bcadd("-4.27", "7.3")."\n";
14 echo bcadd("-4.27", "-7.3");
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 Dbcadd.phpt2 bcadd() function
9 echo bcadd("1", "2"),"\n";
10 echo bcadd("-1", "5", 4),"\n";
11 echo bcadd("-1", "-5", 4),"\n";
12 echo bcadd("1", "-5", 4),"\n";
13 echo bcadd("1928372132132819737213", "8728932001983192837219398127471", 2),"\n";
H A Dbug80545.phpt2 Bug #80545 (bcadd('a', 'a') and bcadd('1', 'a') doesn't throw an exception)
9 bcadd('a', 'a');
15 bcadd('1', 'a');
22 bcadd(): Argument #1 ($num1) is not well-formed
23 bcadd(): Argument #2 ($num2) is not well-formed
H A Dbcadd_error.phpt2 bcadd() requires well-formed values
9 bcadd('a', '1');
15 bcadd('1', 'a');
22 bcadd(): Argument #1 ($num1) is not well-formed
23 bcadd(): Argument #2 ($num2) is not well-formed
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.phpt8 'bcadd: ', bcadd('2', '1', 5), PHP_EOL,
17 bcadd: 3.00000
H A Dscale_ini.phpt10 'bcadd: ', bcadd('2', '1'), PHP_EOL,
19 bcadd: 3.00000
H A Dbcscale_variation002.phpt2 bcadd() incorrect argument count
9 echo bcadd("-4.27", "7.3");
H A Dbug46781.phpt7 var_dump(bcadd('-0.0', '-0.0', 1));
H A Dbug78238.phpt7 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.phpt16 $var414 = bcadd(0,-1,10);
/PHP-8.2/ext/bcmath/
H A Dbcmath_arginfo.h47 ZEND_FUNCTION(bcadd);
60 ZEND_FE(bcadd, arginfo_bcadd)
H A Dbcmath.stub.php6 function bcadd(string $num1, string $num2, ?int $scale = null): string {} function
H A Dbcmath.c153 PHP_FUNCTION(bcadd) in PHP_FUNCTION() argument

Completed in 23 milliseconds