diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2017-12-09 21:32:42 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-12-11 19:25:54 +0100 |
| commit | 10a336d3d062fdfa0133b22fb4f79852ec939ea5 (patch) | |
| tree | f4e4de6f93634b4efa12f90d320ab3c134d14aa8 /ext/gmp/php_gmp.h | |
| parent | a1d36a1157bd88afd64119be059812dd46c4fb2d (diff) | |
| download | php-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.h | 1 |
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); |
