Searched refs:bccomp (Results 1 – 11 of 11) sorted by relevance
/php-src/ext/bcmath/tests/ |
H A D | bccomp.phpt | 2 bccomp() function 9 echo bccomp("-1", "5", 4), "\n"; 10 echo bccomp("1928372132132819737213", "8728932001983192837219398127471"), "\n"; 11 echo bccomp("1.00000000000000000001", "1", 2), "\n"; 12 echo bccomp("97321", "2321"), "\n"; 13 echo bccomp("0", "14"), "\n"; 14 echo bccomp("1", "0"), "\n"; 15 echo bccomp("0.000", "0", 3), "\n";
|
H A D | bccomp_variation002.phpt | 2 bccomp() with negative value 9 echo bccomp("-2", "-2") . "\n"; 10 echo bccomp("-2", "2", "1") . "\n"; 11 echo bccomp("-2.29", "-2.3", "2") . "\n"; 12 echo bccomp("-2.29", "2.3", "2") . "\n"; 13 echo bccomp("2.29", "-2.3", "2") . "\n"; 14 echo bccomp("-2.29", "-2.3", "1") . "\n"; 15 echo bccomp("-2.29", "0", "1") . "\n";
|
H A D | str2num_formatting.phpt | 57 echo bccomp("1", "2"),"\n"; 58 echo bccomp("1.1", "2", 2),"\n"; 59 echo bccomp("", "2"),"\n"; 60 echo bccomp("+0", "2"), "\n"; 61 echo bccomp("-0", "2"), "\n"; 66 echo bccomp(" 0", "2"); 72 echo bccomp("1e1", "2"); 78 echo bccomp("1,1", "2"); 84 echo bccomp("Hello", "2"); 90 echo bccomp("1 1", "2"); [all …]
|
H A D | bccomp_variation001.phpt | 2 bccomp() with non-integers 9 echo bccomp("2.2", "2.2", "2") . "\n"; 10 echo bccomp("2.32", "2.2", "2") . "\n"; 11 echo bccomp("2.29", "2.3", "2") . "\n"; 12 echo bccomp("2.29", "0", "2") . "\n";
|
H A D | bccomp_error.phpt | 2 bccomp() requires well-formed values 9 bccomp('a', '1'); 15 bccomp('1', 'a'); 22 bccomp(): Argument #1 ($num1) is not well-formed 23 bccomp(): Argument #2 ($num2) is not well-formed
|
H A D | bcdivmod.phpt | 29 if (bccomp($quot, $div_ret) !== 0) { 35 if (bccomp($rem, $mod_ret) !== 0) {
|
H A D | bug46781.phpt | 8 var_dump(bccomp('-0.0', '0', 1));
|
H A D | negative_scale.phpt | 50 bccomp('1', '2', -1); 69 bccomp(): Argument #3 ($scale) must be between 0 and 2147483647
|
/php-src/ext/bcmath/ |
H A D | bcmath_arginfo.h | 135 ZEND_FUNCTION(bccomp); 168 ZEND_FE(bccomp, arginfo_bccomp)
|
H A D | bcmath.stub.php | 37 function bccomp(string $num1, string $num2, ?int $scale = null): int {} function
|
H A D | bcmath.c | 678 PHP_FUNCTION(bccomp) in PHP_FUNCTION() argument
|
Completed in 16 milliseconds