summaryrefslogtreecommitdiff
path: root/ext/gmp/php_gmp.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-12-09 21:32:42 +0100
committerNikita Popov <nikita.ppv@gmail.com>2017-12-11 19:25:54 +0100
commit10a336d3d062fdfa0133b22fb4f79852ec939ea5 (patch)
treef4e4de6f93634b4efa12f90d320ab3c134d14aa8 /ext/gmp/php_gmp.h
parenta1d36a1157bd88afd64119be059812dd46c4fb2d (diff)
downloadphp-git-10a336d3d062fdfa0133b22fb4f79852ec939ea5.tar.gz
Add gmp_perfect_power()
Exposes the mpz_perfect_power_p() function. We already had the more specific gmp_perfect_square() function.
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 2ee7879e82..99dfe476d0 100644
--- a/ext/gmp/php_gmp.h
+++ b/ext/gmp/php_gmp.h
@@ -54,6 +54,7 @@ ZEND_FUNCTION(gmp_rootrem);
ZEND_FUNCTION(gmp_pow);
ZEND_FUNCTION(gmp_powm);
ZEND_FUNCTION(gmp_perfect_square);
+ZEND_FUNCTION(gmp_perfect_power);
ZEND_FUNCTION(gmp_prob_prime);
ZEND_FUNCTION(gmp_gcd);
ZEND_FUNCTION(gmp_gcdext);