Home
last modified time | relevance | path

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

/PHP-8.4/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)
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 Dbcadd_zero.phpt2 bcadd() function with number zero
29 run_bcmath_tests($leftSummands, $rightSummands, "+", bcadd(...));
H A Dbcadd_large_numbers.phpt2 bcadd() function with large numbers
34 run_bcmath_tests($leftSummands, $rightSummands, "+", bcadd(...));
H A Dbcadd.phpt2 bcadd() function
26 run_bcmath_tests($leftSummands, $rightSummands, "+", bcadd(...));
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.4/ext/bcmath/tests/number/methods/
H A Dadd_with_scale.phpt29 $func_ret = bcadd($value1, (string) $value2, $scale);
/PHP-8.4/ext/bcmath/
H A Dbcmath_arginfo.h126 ZEND_FUNCTION(bcadd);
159 ZEND_FE(bcadd, arginfo_bcadd)
H A Dbcmath.stub.php8 function bcadd(string $num1, string $num2, ?int $scale = null): string {} function
H A Dbcmath.c183 PHP_FUNCTION(bcadd) in PHP_FUNCTION() argument

Completed in 29 milliseconds