Searched refs:bcadd (Results 1 – 18 of 18) sorted by relevance
/php-src/ext/bcmath/tests/ |
H A D | str2num_formatting.phpt | 11 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 D | bug80545.phpt | 2 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 D | bcadd_error.phpt | 2 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 D | bcscale.phpt | 9 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 D | scale.phpt | 8 'bcadd: ', bcadd('2', '1', 5), PHP_EOL, 17 bcadd: 3.00000
|
H A D | scale_ini.phpt | 10 'bcadd: ', bcadd('2', '1'), PHP_EOL, 19 bcadd: 3.00000
|
H A D | bcscale_variation002.phpt | 2 bcadd() incorrect argument count 9 echo bcadd("-4.27", "7.3");
|
H A D | bcadd_zero.phpt | 2 bcadd() function with number zero 29 run_bcmath_tests($leftSummands, $rightSummands, "+", bcadd(...));
|
H A D | bcadd_large_numbers.phpt | 2 bcadd() function with large numbers 34 run_bcmath_tests($leftSummands, $rightSummands, "+", bcadd(...));
|
H A D | bcadd.phpt | 2 bcadd() function 26 run_bcmath_tests($leftSummands, $rightSummands, "+", bcadd(...));
|
H A D | bug46781.phpt | 7 var_dump(bcadd('-0.0', '-0.0', 1));
|
H A D | bug78238.phpt | 7 var_dump(bcadd("0", "-0.1"));
|
H A D | negative_scale.phpt | 10 bcadd('1','2',-1); 61 bcadd(): Argument #3 ($scale) must be between 0 and 2147483647
|
H A D | bug60377.phpt | 16 $var414 = bcadd(0,-1,10);
|
/php-src/ext/bcmath/tests/number/methods/ |
H A D | add_with_scale.phpt | 29 $func_ret = bcadd($value1, (string) $value2, $scale);
|
/php-src/ext/bcmath/ |
H A D | bcmath_arginfo.h | 126 ZEND_FUNCTION(bcadd); 159 ZEND_FE(bcadd, arginfo_bcadd)
|
H A D | bcmath.stub.php | 8 function bcadd(string $num1, string $num2, ?int $scale = null): string {} function
|
H A D | bcmath.c | 183 PHP_FUNCTION(bcadd) in PHP_FUNCTION() argument
|
Completed in 20 milliseconds