Searched refs:bccomp (Results 1 – 9 of 9) sorted by relevance
/PHP-8.0/ext/bcmath/tests/ |
H A D | str2num_formatting.phpt | 51 echo bccomp("1", "2"),"\n"; 52 echo bccomp("1.1", "2", 2),"\n"; 53 echo bccomp("", "2"),"\n"; 54 echo bccomp("+0", "2"), "\n"; 55 echo bccomp("-0", "2"), "\n"; 60 echo bccomp(" 0", "2"); 66 echo bccomp("1e1", "2"); 72 echo bccomp("1,1", "2"); 78 echo bccomp("Hello", "2"); 84 echo bccomp("1 1", "2"); [all …]
|
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";
|
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");
|
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");
|
H A D | bug46781.phpt | 10 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-8.0/ext/bcmath/ |
H A D | bcmath_arginfo.h | 55 ZEND_FUNCTION(bccomp); 68 ZEND_FE(bccomp, arginfo_bccomp)
|
H A D | bcmath.stub.php | 21 function bccomp(string $num1, string $num2, ?int $scale = null): int {} function
|
H A D | bcmath.c | 571 PHP_FUNCTION(bccomp) in PHP_FUNCTION() argument
|
Completed in 14 milliseconds