License | MIT |
---|---|
Maintainer | Joe Leslie-Hurd <[email protected]> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
Arithmetic.Prime
Description
Documentation
factorTwos :: Natural -> (Int, Natural) Source
millerRabinWitness :: Natural -> Natural -> Bool Source
previousPrime :: Natural -> Random -> Natural Source
randomPrime :: Int -> Random -> Natural Source