Searched refs:bccomp (Results 1 – 10 of 10) sorted by relevance
/PHP-8.2/ext/bcmath/tests/ |
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");
|
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.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_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 | 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 | 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-8.2/ext/bcmath/ |
H A D | bcmath_arginfo.h | 55 ZEND_FUNCTION(bccomp); 68 ZEND_FE(bccomp, arginfo_bccomp)
|
H A D | bcmath.stub.php | 29 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