Home
last modified time | relevance | path

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

/PHP-8.2/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.2/ext/gmp/
H A Dgmp_arginfo.h249 ZEND_FUNCTION(gmp_binomial);
306 ZEND_FE(gmp_binomial, arginfo_gmp_binomial)
H A Dgmp.stub.php186 function gmp_binomial(GMP|int|string $n, int $k): GMP {} function
H A Dgmp.c1308 ZEND_FUNCTION(gmp_binomial) in ZEND_FUNCTION() argument

Completed in 13 milliseconds