parrotcode: PHP gmp Library | |
Contents | Language Implementations | Pipp |
php_gmp.pir - PHP gmp Library
Note: Using BigInt is not the good way. The good way is by a full NCI wrapper over the GMP library.
resource gmp_abs(resource a)
resource gmp_add(resource a, resource b)
resource gmp_and(resource a, resource b)
void gmp_clrbit(resource &a, int index)
int gmp_cmp(resource a, resource b)
resource gmp_com(resource a)
resource gmp_div_q(resource a, resource b [, int round])
array gmp_div_qr(resource a, resource b [, int round])
resource gmp_div_r(resource a, resource b [, int round])
resource gmp_divexact(resource a, resource b)
resource gmp_fact(int a)
resource gmp_gcd(resource a, resource b)
array gmp_gcdext(resource a, resource b)
int gmp_hamdist(resource a, resource b)
resource gmp_init(mixed number [, int base])
int gmp_intval(resource gmpnumber)
resource gmp_invert(resource a, resource b)
int gmp_jacobi(resource a, resource b)
int gmp_legendre(resource a, resource b)
resource gmp_mod(resource a, resource b)
resource gmp_mul(resource a, resource b)
resource gmp_neg(resource a)
resource gmp_nextprime(resource a)
resource gmp_or(resource a, resource b)
bool gmp_perfect_square(resource a)
int gmp_popcount(resource a)
resource gmp_pow(resource base, int exp)
resource gmp_powm(resource base, resource exp, resource mod)
int gmp_prob_prime(resource a[, int reps])
resource gmp_random([int limiter])
int gmp_scan0(resource a, int start)
int gmp_scan1(resource a, int start)
void gmp_setbit(resource &a, int index[, bool set_clear])
int gmp_sign(resource a)
resource gmp_sqrt(resource a)
array gmp_sqrtrem(resource a)
string gmp_strval(resource gmpnumber [, int base])
resource gmp_sub(resource a, resource b)
resource gmp_xor(resource a, resource b)
|