summaryrefslogtreecommitdiff
path: root/ext/gmp/php_gmp.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-12-09 21:57:41 +0100
committerNikita Popov <nikita.ppv@gmail.com>2017-12-11 19:25:54 +0100
commitfc80114a481e1e7fc8c7be775a2cce683db9c107 (patch)
treea972549f0c17d0dc04861fef9b8a8acb2129587b /ext/gmp/php_gmp.h
parent10a336d3d062fdfa0133b22fb4f79852ec939ea5 (diff)
downloadphp-git-fc80114a481e1e7fc8c7be775a2cce683db9c107.tar.gz
Add gmp_kronecker()
Exposes the mpz_kronecker(), mpz_si_kronecker() and mpz_kronecher_si() for computing the Kronecker symbol.
Diffstat (limited to 'ext/gmp/php_gmp.h')
-rw-r--r--ext/gmp/php_gmp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gmp/php_gmp.h b/ext/gmp/php_gmp.h
index 99dfe476d0..0148e488f5 100644
--- a/ext/gmp/php_gmp.h
+++ b/ext/gmp/php_gmp.h
@@ -61,6 +61,7 @@ ZEND_FUNCTION(gmp_gcdext);
ZEND_FUNCTION(gmp_invert);
ZEND_FUNCTION(gmp_jacobi);
ZEND_FUNCTION(gmp_legendre);
+ZEND_FUNCTION(gmp_kronecker);
ZEND_FUNCTION(gmp_cmp);
ZEND_FUNCTION(gmp_sign);
ZEND_FUNCTION(gmp_and);