Hgmp
Description
This module collects all hGMP functions used by hMPC.
isPrime :: Integer -> Bool Source #
Return True if x is probably prime, else False if x is definitely composite
prevPrime :: Integer -> Integer Source #
Return the greatest probable prime number < x, if any.
invert :: Integer -> Integer -> Integer Source #
Return y such that x*y == 1 modulo m.
x*y == 1 modulo m