GMP
mathDescription
GNU Multiple Precision- gmp_abs (a) - Absolute value
- gmp_add (a, b) - Add numbers
- gmp_and (a, b) - Bitwise AND
- gmp_clrbit (a, index) - Clear bit
- gmp_cmp (a, b) - Compare numbers
- gmp_com (a) - Calculates one's complement
- gmp_div (a) - Alias of gmp_div_q()
- gmp_divexact (n, d) - Exact division of numbers
- gmp_div_q (a, b, round) - Divide numbers
- gmp_div_qr (n, d, round) - Divide numbers and get quotient and remainder
- gmp_div_r (n, d, round) - Remainder of the division of numbers
- gmp_fact (a) - Factorial
- gmp_gcd (a, b) - Calculate GCD
- gmp_gcdext (a, b) - Calculate GCD and multipliers
- gmp_hamdist (a, b) - Hamming distance
- gmp_init (a, b) - Create GMP number
- gmp_intval (gmpnumber) - Convert GMP number to integer
- gmp_invert (a, b) - Inverse by modulo
- gmp_jacobi (a, p) - Jacobi symbol
- gmp_legendre (a, p) - Legendre symbol
- gmp_mod (n, d) - Modulo operation
- gmp_mul (a, b) - Multiply numbers
- gmp_neg (a) - Negate number
- gmp_nextprime (a) - Find next prime number
- gmp_or (a, b) - Bitwise OR
- gmp_perfect_square (a) - Perfect square check
- gmp_popcount (a) - Population count
- gmp_pow (base, exp) - Raise number into power
- gmp_powm (base, exp, mod) - Raise number into power with modulo
- gmp_prob_prime (base, exp, mod) - Check if number is "probably prime"
- gmp_random (limiter) - Random number
- gmp_scan0 (a, start) - Scan for 0
- gmp_scan1 (a, start) - Scan for 1
- gmp_setbit (a, index, set_clear) - Set bit
- gmp_sign (a) - Sign of number
- gmp_sqrt (a) - Calculate square root
- gmp_sqrtrem (a) - Square root with remainder
- gmp_strval (gmpnumber, base) - Convert GMP number to string
- gmp_sub (a, b) - Subtract numbers
- gmp_testbit (a, index) - Tests if a bit is set
- gmp_xor (a, b) - Bitwise XOR
