Home
last modified time | relevance | path

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

/PHP-7.4/ext/gmp/
H A Dgmp.c1444 mpz_ptr gmpnum_base, gmpnum_exp, gmpnum_mod, gmpnum_result; in ZEND_FUNCTION() local
1466 FETCH_GMP_ZVAL_DEP_DEP(gmpnum_mod, mod_arg, temp_mod, temp_exp, temp_base); in ZEND_FUNCTION()
1468 if (!mpz_cmp_ui(gmpnum_mod, 0)) { in ZEND_FUNCTION()
1478 mpz_powm_ui(gmpnum_result, gmpnum_base, (zend_ulong) Z_LVAL_P(exp_arg), gmpnum_mod); in ZEND_FUNCTION()
1480 mpz_powm(gmpnum_result, gmpnum_base, gmpnum_exp, gmpnum_mod); in ZEND_FUNCTION()

Completed in 8 milliseconds