diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2017-12-09 21:09:27 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-12-11 19:25:54 +0100 |
| commit | 7fea79675cfb064726f3fc7845e2c2bb1f247ea5 (patch) | |
| tree | 41adc67f230e213868e797351bcb9c2c1333e588 /ext/gmp/php_gmp.h | |
| parent | dc47171523b70112b14cf9144bdf223e9db550fe (diff) | |
| download | php-git-7fea79675cfb064726f3fc7845e2c2bb1f247ea5.tar.gz | |
Add gmp_binomial()
Adds PHP bindings for mpz_bin_ui and mpz_bin_uiui, for calculating
binomial coefficients.
Diffstat (limited to 'ext/gmp/php_gmp.h')
| -rw-r--r-- | ext/gmp/php_gmp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gmp/php_gmp.h b/ext/gmp/php_gmp.h index 971d6593ec..8ba4b89d5b 100644 --- a/ext/gmp/php_gmp.h +++ b/ext/gmp/php_gmp.h @@ -78,6 +78,7 @@ ZEND_FUNCTION(gmp_testbit); ZEND_FUNCTION(gmp_popcount); ZEND_FUNCTION(gmp_hamdist); ZEND_FUNCTION(gmp_nextprime); +ZEND_FUNCTION(gmp_binomial); ZEND_BEGIN_MODULE_GLOBALS(gmp) zend_bool rand_initialized; |
