Home
last modified time | relevance | path

Searched refs:gmp_binomial (Results 1 – 5 of 5) sorted by relevance

/PHP-8.1/ext/gmp/tests/
H A Dgmp_binomial.phpt2 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 Dbug80560.phpt31 'gmp_binomial',
/PHP-8.1/ext/gmp/
H A Dgmp_arginfo.h244 ZEND_FUNCTION(gmp_binomial);
300 ZEND_FE(gmp_binomial, arginfo_gmp_binomial)
H A Dgmp.stub.php129 function gmp_binomial(GMP|int|string $n, int $k): GMP {} function
H A Dgmp.c1225 ZEND_FUNCTION(gmp_binomial) in ZEND_FUNCTION() argument

Completed in 13 milliseconds