Searched refs:gmp_binomial (Results 1 – 5 of 5) sorted by relevance
/php-src/ext/gmp/tests/ |
H A D | gmp_binomial.phpt | 2 gmp_binomial(): Binomial coefficients 8 var_dump(gmp_binomial(10, 5)); 9 var_dump(gmp_binomial("10", 5)); 11 var_dump(gmp_binomial($n, 5)); 13 var_dump(gmp_binomial(10000, 100)); 15 var_dump(gmp_binomial(0, 0)); 16 var_dump(gmp_binomial(0, 1)); 17 var_dump(gmp_binomial(1, 0)); 18 var_dump(gmp_binomial(1, 1)); 21 var_dump(gmp_binomial(-2, 6)); // == (2 + 6 - 1 over 6) [all …]
|
H A D | bug80560.phpt | 31 'gmp_binomial',
|
/php-src/ext/gmp/ |
H A D | gmp_arginfo.h | 248 ZEND_FUNCTION(gmp_binomial); 304 ZEND_FE(gmp_binomial, arginfo_gmp_binomial)
|
H A D | gmp.stub.php | 186 function gmp_binomial(GMP|int|string $n, int $k): GMP {} function
|
H A D | gmp.c | 1318 ZEND_FUNCTION(gmp_binomial) in ZEND_FUNCTION() argument
|
Completed in 13 milliseconds